diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-03 14:46:45 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-10 13:05:42 -0500 |
commit | 4afddb5545b368daef76333fc30dd39dd4939b18 (patch) | |
tree | 2199491dbe9cf3e8e30c04e10e779c32c68579e1 /configure | |
parent | 322e58780b03bb1df71fa2b8352a28ae485432fc (diff) |
permit to add things to CFLAGS per target
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Message-Id:
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -2068,8 +2068,9 @@ if test "$target_bsd_user" = "yes" ; then echo "CONFIG_BSD_USER=y" >> $config_mak fi -# generate LDFLAGS for targets +# generate QEMU_CFLAGS/LDFLAGS for targets +cflags="" ldflags="" linker_script="-Wl,-T../config-host.ld -Wl,-T,\$(SRC_PATH)/\$(ARCH).ld" if test "$target_linux_user" = "yes" -o "$target_linux_user" = "yes" ; then @@ -2105,6 +2106,7 @@ if test "$target_softmmu" = "yes" ; then fi echo "LDFLAGS+=$ldflags" >> $config_mak +echo "QEMU_CFLAGS+=$cflags" >> $config_mak echo "/* Automatically generated by configure - do not modify */" > $config_h echo "#include \"../config-host.h\"" >> $config_h |