diff options
author | Juan Quintela | 2009-08-03 14:46:02 +0200 |
---|---|---|
committer | Anthony Liguori | 2009-08-10 20:05:35 +0200 |
commit | e2a2ed0658b7d9b56f4377fe6c210e622f1717cd (patch) | |
tree | a9480d2f3a425eae3a033916e90933a4ab359a7a | |
parent | Remove OS_{CFLAGS, LDFLAGS} and ARCH_{LDFLAGS, CFLAGS} (diff) | |
download | qemu-e2a2ed0658b7d9b56f4377fe6c210e622f1717cd.tar.gz qemu-e2a2ed0658b7d9b56f4377fe6c210e622f1717cd.tar.xz qemu-e2a2ed0658b7d9b56f4377fe6c210e622f1717cd.zip |
move EXTRA_CFLAGS/LDFLAGS to the very beginning
Now, we compile all the tests with the values passed through the command
line.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
-rwxr-xr-x | configure | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -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 |