Permalink
Browse files

No, revert back to using config.make but make sure it's exported prop…

…erly.
  • Loading branch information...
1 parent 3ffa62b commit 70963bb97d8395980ac0ee7dcc22d1b21bbd0e1a @pprindeville committed Dec 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 configure
View
4 configure
@@ -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
@@ -280,6 +281,7 @@ export POCO_BASE
export POCO_BUILD
export POCO_PREFIX
export POCO_FLAGS
+export EXTRA_CFLAGS
__EOF__
if [ -n "$stdcxx_base" ] ; then
@@ -309,8 +311,6 @@ echo '# config.build generated by configure script' >$build/config.build
cat <<__EOF__ >>$build/config.build
TESTS = $tests
SAMPLES = $samples
-
-EXTRA_CFLAGS = $cflags
__EOF__
echo "Configured for $config"

0 comments on commit 70963bb

Please sign in to comment.