===================================================================

Gbp-Pq: Name gcc-5.diff
This commit is contained in:
Ubuntu Core Developers 2022-05-14 02:56:15 +08:00 committed by openKylinBot
parent cb48256b49
commit 890ffb4d99
5 changed files with 9 additions and 9 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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