summarylogtreecommitdiffstats
path: root/cflags.patch
diff options
context:
space:
mode:
authorRobin Broda2018-03-02 19:39:31 +0100
committerRobin Broda2018-03-02 19:39:31 +0100
commit424a18088a8f65f84e40a64796ce835c9fcec561 (patch)
tree0f2b34b7882ebb03207fafa53916ddb1dc28a5f6 /cflags.patch
parente92265bdc201164cd6574c9885acfead73bccd8f (diff)
downloadaur-424a18088a8f65f84e40a64796ce835c9fcec561.tar.gz
Add patches to honor CFLAGS & LDFLAGS
Diffstat (limited to 'cflags.patch')
-rw-r--r--cflags.patch7
1 files changed, 7 insertions, 0 deletions
diff --git a/cflags.patch b/cflags.patch
new file mode 100644
index 000000000000..d054af00710e
--- /dev/null
+++ b/cflags.patch
@@ -0,0 +1,7 @@
+--- conf-cc-orig 2018-03-02 19:19:21.854371204 +0100
++++ conf-cc 2018-03-02 19:19:29.861371762 +0100
+@@ -1,3 +1,3 @@
+-gcc -O2 -Wall -Wshadow -Wcast-align -Wwrite-strings
++gcc ${CFLAGS} -O2 -Wall -Wshadow -Wcast-align -Wwrite-strings
+
+ This will be used to compile .c files.