mirror of
https://github.com/systemd/systemd.git
synced 2025-01-27 18:04:05 +03:00
[PATCH] klibc: check for gcc4
This commit is contained in:
parent
b55e654026
commit
084420316c
@ -16,7 +16,7 @@ gcc_major := $(shell echo __GNUC__ | $(CC) -E -xc - | tail -n 1)
|
||||
OPTFLAGS = -march=i386 -Os -g
|
||||
LDFLAGS = -m elf_i386
|
||||
|
||||
ifeq ($(gcc_major),3)
|
||||
ifneq ($(shell if [ $(gcc_major) -gt 2 ] ; then echo "new"; fi ;),)
|
||||
REGPARM := $(REGPARM_OPT)
|
||||
OPTFLAGS += -falign-functions=0 -falign-jumps=0 -falign-loops=0
|
||||
ARCHREQFLAGS += -m32
|
||||
|
Loading…
x
Reference in New Issue
Block a user