2017-02-07 23:53:53 +00:00
|
|
|
Respect environment CPPFLAGS when we run ./configure so we can inject
|
|
|
|
random -D things without having to set CFLAGS/ASFLAGS
|
|
|
|
|
2017-12-02 20:44:39 +00:00
|
|
|
---
|
|
|
|
Makeconfig | 1 +
|
|
|
|
1 file changed, 1 insertion(+)
|
|
|
|
|
|
|
|
--- a/Makeconfig
|
|
|
|
+++ b/Makeconfig
|
2017-02-07 23:53:53 +00:00
|
|
|
@@ -697,6 +697,7 @@
|
|
|
|
$(foreach lib,$(libof-$(basename $(@F))) \
|
|
|
|
$(libof-$(<F)) $(libof-$(@F)),$(CPPFLAGS-$(lib))) \
|
|
|
|
$(CPPFLAGS-$(<F)) $(CPPFLAGS-$(@F)) $(CPPFLAGS-$(basename $(@F)))
|
|
|
|
+CPPFLAGS += $(CPPFLAGS-config)
|
|
|
|
override CFLAGS = -std=gnu99 $(gnu89-inline-CFLAGS) \
|
|
|
|
$(filter-out %frame-pointer,$(+cflags)) $(+gccwarn-c) \
|
|
|
|
$(sysdep-CFLAGS) $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) \
|