pc-bios/s390-ccw.img: Fix build
commitc86c03cfd2c298f56e36cd08a054b90c83959cc1
authorChristian Borntraeger <borntraeger@de.ibm.com>
Mon, 15 Aug 2016 10:20:49 +0000 (15 12:20 +0200)
committerCornelia Huck <cornelia.huck@de.ibm.com>
Tue, 16 Aug 2016 06:52:02 +0000 (16 08:52 +0200)
treed3bc56e16670cf41b2c0da4b819bb0ec0359d178
parente5bfef86fe57fcf11cb761ac9a59006442f5de8a
pc-bios/s390-ccw.img: Fix build

Since
commit a9c87304b76d ("build-sys: fix building with make CFLAGS=.. argument")

pc-bios/s390-ccw.img build might fail with

--- snip ---
main.o: In function `virtio_setup':
qemu/pc-bios/s390-ccw/main.c:117: undefined reference to `__stack_chk_fail'
--- snip ---

Changing the CFLAGS to QEMU_CFLAGS does the trick. We also need to
add -fno-strict-aliasing as this was filtered out.

Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Message-Id: <1471258997-5811-1-git-send-email-borntraeger@de.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
pc-bios/s390-ccw/Makefile