]> git.pld-linux.org Git - packages/netsurf.git/blobdiff - optflags.patch
- fix passing CFLAGS/LDFLAGS
[packages/netsurf.git] / optflags.patch
diff --git a/optflags.patch b/optflags.patch
new file mode 100644 (file)
index 0000000..450d3a9
--- /dev/null
@@ -0,0 +1,15 @@
+--- netsurf-3.1/Makefile.orig  2014-04-25 13:14:16.000000000 +0200
++++ netsurf-3.1/Makefile       2014-11-25 20:46:18.669202155 +0100
+@@ -437,10 +437,10 @@
+ $(eval $(call feature_enabled,LIBICONV_PLUG,-DLIBICONV_PLUG,,glibc internal iconv))
+ # common libraries without pkg-config support
+-LDFLAGS += -lz
++LDFLAGS += -lz $(OPTLDFLAGS)
+ # add top level and build directory to include search path
+-CFLAGS += -I. -I$(OBJROOT)
++CFLAGS += -I. -I$(OBJROOT) $(OPTFLAGS)
+ # export the user agent format
+ CFLAGS += -DNETSURF_UA_FORMAT_STRING=\"$(NETSURF_UA_FORMAT_STRING)\"
This page took 0.039925 seconds and 4 git commands to generate.