diff options
author | Alex AUVOLAT <alexis211@gmail.com> | 2012-11-25 21:06:40 +0100 |
---|---|---|
committer | Alex AUVOLAT <alexis211@gmail.com> | 2012-11-25 21:06:40 +0100 |
commit | 0dadfa903b7a780b4f88155a6eae7855890b797e (patch) | |
tree | 16ab5632128deaaad8643b7fcca11118fc0498e7 /src/common.make | |
parent | e138ba093d5e1acbad0587aee38f9c09415d24ca (diff) | |
download | TCE-0dadfa903b7a780b4f88155a6eae7855890b797e.tar.gz TCE-0dadfa903b7a780b4f88155a6eae7855890b797e.zip |
Return to standard C.
Diffstat (limited to 'src/common.make')
-rw-r--r-- | src/common.make | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common.make b/src/common.make index 96a1a7f..71cea37 100644 --- a/src/common.make +++ b/src/common.make @@ -1,15 +1,15 @@ +.PHONY: clean, mrproper + # ============== ENVIRONMENT VARIABLES CC = i586-elf-gcc -CFLAGS = -nostdlib -nostartfiles -nodefaultlibs -fno-builtin -fno-stack-protector -Wall -Werror -g -Wno-error=main +CFLAGS = -m32 -nostdlib -nostdinc -nostartfiles -nodefaultlibs -fno-builtin -ffreestanding -fno-stack-protector -Wall -Werror -g -Wno-error=main CCFLAGS = CXX = i586-elf-g++ -CXXFLAGS = -fno-rtti -fno-exceptions -Wall -Werror -Wno-write-strings -Wno-main -Wno-error=unused-parameter -Wno-error=main -g +CXXFLAGS = -fno-rtti -fno-exceptions -Wno-write-strings -Wno-main -Wno-error=unused-parameter LD = i586-elf-ld -.PHONY: clean, mrproper - -LDFLAGS = -oformat=elf32-i386 +LDFLAGS = -oformat=elf32-i386 -m elf_i386 ASM = nasm AFLAGS = -f elf |