fix that predefined CFLAGS etc. are ignored default tip

Sun, 15 Dec 2024 15:00:13 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 15 Dec 2024 15:00:13 +0100
changeset 130
424a0fb2c64f
parent 129
b38ea78d842c

fix that predefined CFLAGS etc. are ignored

fixes #442

src/main/resources/make/configure.vm file | annotate | diff | comparison | revisions
test/configure file | annotate | diff | comparison | revisions
test/configure2 file | annotate | diff | comparison | revisions
test/make/configure.vm file | annotate | diff | comparison | revisions
--- a/src/main/resources/make/configure.vm	Sun Dec 15 14:56:05 2024 +0100
+++ b/src/main/resources/make/configure.vm	Sun Dec 15 15:00:13 2024 +0100
@@ -411,9 +411,9 @@
 ERROR=0
 #if( $dependencies.size() > 0 )
 # unnamed dependencies
-TEMP_CFLAGS=
-TEMP_CXXFLAGS=
-TEMP_LDFLAGS=
+TEMP_CFLAGS="$CFLAGS"
+TEMP_CXXFLAGS="$CXXFLAGS"
+TEMP_LDFLAGS="$LDFLAGS"
 #foreach( $dependency in $dependencies )
 while true
 do
--- a/test/configure	Sun Dec 15 14:56:05 2024 +0100
+++ b/test/configure	Sun Dec 15 15:00:13 2024 +0100
@@ -455,9 +455,9 @@
 DEPENDENCIES_FAILED=
 ERROR=0
 # unnamed dependencies
-TEMP_CFLAGS=
-TEMP_CXXFLAGS=
-TEMP_LDFLAGS=
+TEMP_CFLAGS="$CFLAGS"
+TEMP_CXXFLAGS="$CXXFLAGS"
+TEMP_LDFLAGS="$LDFLAGS"
 while true
 do
     while true
--- a/test/configure2	Sun Dec 15 14:56:05 2024 +0100
+++ b/test/configure2	Sun Dec 15 15:00:13 2024 +0100
@@ -524,9 +524,9 @@
 DEPENDENCIES_FAILED=
 ERROR=0
 # unnamed dependencies
-TEMP_CFLAGS=
-TEMP_CXXFLAGS=
-TEMP_LDFLAGS=
+TEMP_CFLAGS="$CFLAGS"
+TEMP_CXXFLAGS="$CXXFLAGS"
+TEMP_LDFLAGS="$LDFLAGS"
 while true
 do
     while true
--- a/test/make/configure.vm	Sun Dec 15 14:56:05 2024 +0100
+++ b/test/make/configure.vm	Sun Dec 15 15:00:13 2024 +0100
@@ -411,9 +411,9 @@
 ERROR=0
 #if( $dependencies.size() > 0 )
 # unnamed dependencies
-TEMP_CFLAGS=
-TEMP_CXXFLAGS=
-TEMP_LDFLAGS=
+TEMP_CFLAGS="$CFLAGS"
+TEMP_CXXFLAGS="$CXXFLAGS"
+TEMP_LDFLAGS="$LDFLAGS"
 #foreach( $dependency in $dependencies )
 while true
 do

mercurial