| 1 |
From: "Dr. Tobias Quathamer" <[email protected]> |
| 2 |
Date: Wed, 29 Feb 2012 14:23:08 +0100 |
| 3 |
Subject: Add CXXFLAGS and LDFLAGS to configure |
| 4 |
|
| 5 |
--- |
| 6 |
configure | 4 +++- |
| 7 |
1 file changed, 3 insertions(+), 1 deletion(-) |
| 8 |
|
| 9 |
diff --git a/configure b/configure |
| 10 |
index 29e3a62..4e5d099 100755 |
| 11 |
--- a/configure |
| 12 |
+++ b/configure |
| 13 |
@@ -300,7 +300,9 @@ fi |
| 14 |
|
| 15 |
echo "Creating Makefile" |
| 16 |
|
| 17 |
|
| 18 |
+$QMAKE "QMAKE_CXXFLAGS=\"$CXXFLAGS\"" "QMAKE_LFLAGS=\"$LDFLAGS\"" \ |
| 19 |
+ -o $SOURCEPATH/Makefile "CONFIG+=$BUILDMODE configure" \ |
| 20 |
+ $PROFILE > /dev/null 2>> $LOGFILE |
| 21 |
|
| 22 |
if [ $? != "0" ] ; then |
| 23 |
echo "ERROR: could not create Makefile. See config.log" |