Permalink
Browse files

Value of --cflags=... is currently discarded.

  • Loading branch information...
pprindeville committed Dec 13, 2012
1 parent 9ab50e5 commit 01534f9eacc9b87e9bc1397b07f680cedb24a2d4
Showing with 2 additions and 1 deletion.
  1. +1 −1 build/rules/global
  2. +1 −0 configure
View
@@ -233,7 +233,7 @@ endif
#
# Compose compiler flags
#
-COMMONFLAGS = -DPOCO_BUILD_HOST=$(HOSTNAME) $(POCO_FLAGS)
+COMMONFLAGS = -DPOCO_BUILD_HOST=$(HOSTNAME) $(POCO_FLAGS) $(EXTRA_CFLAGS)
CFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
CXXFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
LINKFLAGS += $(COMMONFLAGS) $(SYSFLAGS)
View
@@ -251,6 +251,7 @@ echo "POCO_BASE = $base" >>$build/config.make
echo "POCO_BUILD = $build" >>$build/config.make
echo "POCO_PREFIX = $prefix" >>$build/config.make
echo "POCO_FLAGS = $flags" >>$build/config.make
+echo "EXTRA_CFLAGS = $cflags" >> $build/config.make
echo "OMIT = $omit" >>$build/config.make
if [ -n "$stdcxx_base" ] ; then
echo "STDCXX_BASE = $stdcxx_base" >>$build/config.make

1 comment on commit 01534f9

@aleks-f

This comment has been minimized.

Show comment Hide comment
@aleks-f

aleks-f Dec 14, 2012

Please sign in to comment.