[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 11/42] move EXTRA_CFLAGS/LDFLAGS to the very beginni
From: |
Juan Quintela |
Subject: |
[Qemu-devel] [PATCH 11/42] move EXTRA_CFLAGS/LDFLAGS to the very beginning |
Date: |
Thu, 30 Jul 2009 04:07:06 +0200 |
Now, we compile all the tests with the values passed through the command
line.
Signed-off-by: Juan Quintela <address@hidden>
---
configure | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/configure b/configure
index f014f07..5b1caea 100755
--- a/configure
+++ b/configure
@@ -47,6 +47,10 @@ for opt do
;;
--cpu=*) cpu="$optarg"
;;
+ --extra-cflags=*) CFLAGS="$optarg $CFLAGS"
+ ;;
+ --extra-ldflags=*) LDFLAGS="$optarg $LDFLAGS"
+ ;;
esac
done
@@ -388,9 +392,9 @@ for opt do
;;
--install=*) install="$optarg"
;;
- --extra-cflags=*) EXTRA_CFLAGS="$optarg"
+ --extra-cflags=*)
;;
- --extra-ldflags=*) EXTRA_LDFLAGS="$optarg"
+ --extra-ldflags=*)
;;
--cpu=*)
;;
@@ -1780,8 +1784,8 @@ fi
echo "AR=$ar" >> $config_host_mak
echo "OBJCOPY=$objcopy" >> $config_host_mak
echo "LD=$ld" >> $config_host_mak
-echo "CFLAGS=$CFLAGS $EXTRA_CFLAGS" >> $config_host_mak
-echo "LDFLAGS=$LDFLAGS $EXTRA_LDFLAGS" >> $config_host_mak
+echo "CFLAGS=$CFLAGS" >> $config_host_mak
+echo "LDFLAGS=$LDFLAGS" >> $config_host_mak
echo "ARLIBS_BEGIN=$arlibs_begin" >> $config_host_mak
echo "ARLIBS_END=$arlibs_end" >> $config_host_mak
echo "EXESUF=$EXESUF" >> $config_host_mak
--
1.6.2.5
- [Qemu-devel] [PATCH 01/42] strip binary is not used anywhere, (continued)
- [Qemu-devel] [PATCH 01/42] strip binary is not used anywhere, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 02/42] oss variable don't exist anymore, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 03/42] Use CFLAGS from enviroment, ARCH_CFLAGS hasn't been defined yet, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 05/42] move check_linker_flags sooner than starting of printing variables, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 04/42] move cpu command line setting to the beggining, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 06/42] remove not needed rt variable, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 07/42] move checks for bswap32/bswap_32 sooner than starting of printing variables, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 09/42] We want to add options at the beggining, not at the end of variables, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 08/42] move general CFLAGS/LDFLAGS definitions after last $cc run, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 10/42] Remove OS_{CFLAGS, LDFLAGS} and ARCH_{LDFLAGS, CFLAGS}, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 11/42] move EXTRA_CFLAGS/LDFLAGS to the very beginning,
Juan Quintela <=
- [Qemu-devel] [PATCH 13/42] remove unused temporal files, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 14/42] Add CURL_CFLAGS, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 16/42] move mingw32 code after selection of OS, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 15/42] __sparc_*__ is defined through -D__sparc_*__, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 12/42] create compile_object/compile_prog functions, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 18/42] refactor kqemu selection for both mingw32, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 17/42] This variables can't be set here, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 19/42] move sparc_cpu arg parsing to the begining, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 20/42] refactor sparc_cpu code to be in a single place, Juan Quintela, 2009/07/29
- [Qemu-devel] [PATCH 22/42] reindent Operating System selection configure, Juan Quintela, 2009/07/29