Skip to content
Snippets Groups Projects
Commit 90b0a595 authored by Georg Wassen's avatar Georg Wassen
Browse files

fix: build error on Ubuntu 4.8.2-l9ubuntul) with GCC 4.8.2

This version (not clear if GCC >= 4.8.2 or Ubuntu) needs additional --ffreestanding in C32FLAGS.
Reported and fixed by Gabriel-Alexander Reschke. Thanks!
parent ce0413a5
Branches master
No related tags found
No related merge requests found
......@@ -35,7 +35,10 @@ SMP=2
# default command line for QEMU
CMDLINE=test
C32FLAGS=$(CFLAGS)
C32FLAGS=$(CFLAGS) -ffreestanding
# note: appears to be required with GCC >= 4.8.2 (at least reported with 4.8.2 (Ubuntu 4.8.2-l9ubuntul)),
# with 4.8.1 on OpenSUSE 13.1 this option was not required.
# Thanks to Gabriel-Alexander Reschke
C64FLAGS=$(CFLAGS) -ffreestanding -mcmodel=large -mno-red-zone -mno-mmx -mno-sse -mno-sse2 -mno-sse3 -mno-3dnow
# extra Parameters for 64 bit C code
# -ffreestanding
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment