diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-16 21:24:30 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-16 21:24:30 -0500 |
commit | 758909b6019d61735430457a1be3c41228836104 (patch) | |
tree | 22b5e0e35f88ca154f1f0d848e7b51455a5be876 /system/gettext-tiny/respect-cflags.patch | |
parent | 82e94e7e4a3eb810722a7692e8aa058edc5f1f0b (diff) | |
download | packages-758909b6019d61735430457a1be3c41228836104.tar.gz packages-758909b6019d61735430457a1be3c41228836104.tar.bz2 packages-758909b6019d61735430457a1be3c41228836104.tar.xz packages-758909b6019d61735430457a1be3c41228836104.zip |
system/gettext-tiny: respect CFLAGS if set
Diffstat (limited to 'system/gettext-tiny/respect-cflags.patch')
-rw-r--r-- | system/gettext-tiny/respect-cflags.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/gettext-tiny/respect-cflags.patch b/system/gettext-tiny/respect-cflags.patch new file mode 100644 index 000000000..b949371c4 --- /dev/null +++ b/system/gettext-tiny/respect-cflags.patch @@ -0,0 +1,11 @@ +--- gettext-tiny-0.2.0/Makefile.old 2017-08-02 06:14:20.000000000 -0500 ++++ gettext-tiny-0.2.0/Makefile 2018-06-16 21:21:57.148735892 -0500 +@@ -29,7 +29,7 @@ + ALL_TOOLS=msgfmt msgmerge xgettext autopoint + ALL_M4S=$(sort $(wildcard m4/*.m4)) + +-CFLAGS=-O0 -fPIC ++CFLAGS ?= -O0 -fPIC + + AR ?= $(CROSS_COMPILE)ar + RANLIB ?= $(CROSS_COMPILE)ranlib |