Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 110879
Collapse All | Expand All

(-)glibc-2.3.5/sysdeps/unix/sysv/linux/Makefile.orig (-1 / +8 lines)
Lines 1-6 Link Here
1
# from Linux Kernel Source
2
# cc-option
3
# Usage: cflags-y += $(call cc-option, -march=winchip-c6, -march=i586)
4
5
cc-option = $(shell if $(CC) $(1) -S -o /dev/null -xc /dev/null \
6
             > /dev/null 2>&1; then echo "$(1)"; else echo "$(2)"; fi ;)
7
1
ifeq ($(subdir),csu)
8
ifeq ($(subdir),csu)
2
sysdep_routines += errno-loc ssp
9
sysdep_routines += errno-loc ssp
3
CFLAGS-ssp.c += -fno-stack-protector
10
CFLAGS-ssp.c += $(call cc-option, -fno-stack-protector)
4
endif
11
endif
5
12
6
ifeq ($(subdir),assert)
13
ifeq ($(subdir),assert)

Return to bug 110879