summaryrefslogtreecommitdiff
path: root/0001-fix-cflags-override.patch
diff options
context:
space:
mode:
Diffstat (limited to '0001-fix-cflags-override.patch')
-rw-r--r--0001-fix-cflags-override.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/0001-fix-cflags-override.patch b/0001-fix-cflags-override.patch
new file mode 100644
index 0000000..2a3ee4a
--- /dev/null
+++ b/0001-fix-cflags-override.patch
@@ -0,0 +1,10 @@
+diff --git a/defs.mak.in b/defs.mak.in
+index fb2ff7c..27c361f 100644
+--- a/defs.mak.in
++++ b/defs.mak.in
+@@ -33,4 +33,4 @@ CWIID_PLUGINS_DIR = $(ROOTDIR)@CWIID_PLUGINS_DIR@
+
+ DEBUGFLAGS = -g
+ WARNFLAGS = -Wall -W
+-CFLAGS = $(DEBUGFLAGS) $(WARNFLAGS) @DEFS@ -I$(COMMON)/include
++CFLAGS = @CFLAGS@ $(DEBUGFLAGS) $(WARNFLAGS) @DEFS@ -I$(COMMON)/include