gcc-5
=================================================================== Gbp-Pq: Name gcc-5.diff
This commit is contained in:
parent
cb48256b49
commit
890ffb4d99
2
Makefile
2
Makefile
|
@ -26,7 +26,7 @@ comma := ,
|
|||
LDHASH := $(call gcc_ok,-Wl$(comma)--hash-style=both,)
|
||||
|
||||
OSTYPE = $(shell uname -msr)
|
||||
CC = gcc
|
||||
CC = gcc -fgnu89-inline
|
||||
INCLUDE =
|
||||
CFLAGS = -W -Wall -Os -fomit-frame-pointer -D_FILE_OFFSET_BITS=64
|
||||
PIC = -fPIC
|
||||
|
|
|
@ -5,9 +5,9 @@ TMPFILE = $(shell mktemp /tmp/gcc_ok.XXXXXX)
|
|||
gcc_ok = $(shell tmpf=$(TMPFILE); if gcc $(1) -c -x c /dev/null -o $$tmpf 2>/dev/null; \
|
||||
then echo $(1); else echo $(2); fi; rm -f $$tmpf)
|
||||
|
||||
GCCOPT := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,)
|
||||
GCCOPT := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,) $(call gcc_ok,-fgnu89-inline,)
|
||||
|
||||
CC = gcc
|
||||
CC = gcc -fgnu89-inline
|
||||
LD = ld
|
||||
INCLUDE = -I.
|
||||
AR = ar
|
||||
|
|
|
@ -34,9 +34,9 @@ TMPFILE = $(shell mktemp /tmp/gcc_ok.XXXXXX)
|
|||
gcc_ok = $(shell tmpf=$(TMPFILE); if $(CC) $(1) -c -x c /dev/null -o $$tmpf 2>/dev/null; \
|
||||
then echo $(1); else echo $(2); fi; rm -f $$tmpf)
|
||||
|
||||
M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,)
|
||||
M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,) $(call gcc_ok,-fgnu89-inline,)
|
||||
|
||||
CC = gcc
|
||||
CC = gcc -fgnu89-inline
|
||||
LD = ld -m elf_i386
|
||||
AR = ar
|
||||
NASM = nasm
|
||||
|
|
|
@ -19,9 +19,9 @@ TMPFILE = $(shell mktemp /tmp/gcc_ok.XXXXXX)
|
|||
gcc_ok = $(shell tmpf=$(TMPFILE); if $(CC) $(1) -c -x c /dev/null -o $$tmpf 2>/dev/null; \
|
||||
then echo $(1); else echo $(2); fi; rm -f $$tmpf)
|
||||
|
||||
M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,)
|
||||
M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,) $(call gcc_ok,-fgnu89-inline,)
|
||||
|
||||
CC = gcc
|
||||
CC = gcc -fgnu89-inline
|
||||
LD = ld -m elf_i386
|
||||
AR = ar
|
||||
NASM = nasm
|
||||
|
|
|
@ -19,9 +19,9 @@ TMPFILE = $(shell mktemp /tmp/gcc_ok.XXXXXX)
|
|||
gcc_ok = $(shell tmpf=$(TMPFILE); if $(CC) $(1) -c -x c /dev/null -o $$tmpf 2>/dev/null; \
|
||||
then echo $(1); else echo $(2); fi; rm -f $$tmpf)
|
||||
|
||||
M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,)
|
||||
M32 := $(call gcc_ok,-m32,) $(call gcc_ok,-fno-stack-protector,) $(call gcc_ok,-fgnu89-inline,)
|
||||
|
||||
CC = gcc
|
||||
CC = gcc -fgnu89-inline
|
||||
LD = ld -m elf_i386
|
||||
AR = ar
|
||||
NASM = nasm
|
||||
|
|
Loading…
Reference in New Issue