version 1.150, 2014/04/22 14:42:53 |
version 1.151, 2014/12/23 16:35:53 |
|
|
# m88k unknown |
# m88k unknown |
# hppa64 unknown |
# hppa64 unknown |
PIE_ARCH=alpha amd64 hppa i386 mips64 mips64el powerpc sh sparc64 |
PIE_ARCH=alpha amd64 hppa i386 mips64 mips64el powerpc sh sparc64 |
|
STATICPIE_ARCH=amd64 |
|
|
.for _arch in ${MACHINE_ARCH} |
.for _arch in ${MACHINE_ARCH} |
.if !empty(GCC3_ARCH:M${_arch}) |
.if !empty(GCC3_ARCH:M${_arch}) |
|
|
BINUTILS_VERSION=binutils |
BINUTILS_VERSION=binutils |
.endif |
.endif |
|
|
|
.if !empty(STATICPIE_ARCH:M${_arch}) |
|
STATICPIE?=-pie -Wl,-Bsymbolic |
|
.endif |
|
|
.if !empty(PIE_ARCH:M${_arch}) |
.if !empty(PIE_ARCH:M${_arch}) |
NOPIE_FLAGS?=-fno-pie |
NOPIE_FLAGS?=-fno-pie |
NOPIE_LDFLAGS?=-nopie |
NOPIE_LDFLAGS?=-nopie |
|
|
|
|
# This may be changed for _single filesystem_ configurations (such as |
# This may be changed for _single filesystem_ configurations (such as |
# routers and other embedded systems); normal systems should leave it alone! |
# routers and other embedded systems); normal systems should leave it alone! |
STATIC?= -static |
STATIC?= -static ${STATICPIE} |
|
|
# Define SYS_INCLUDE to indicate whether you want symbolic links to the system |
# Define SYS_INCLUDE to indicate whether you want symbolic links to the system |
# source (``symlinks''), or a separate copy (``copies''); (latter useful |
# source (``symlinks''), or a separate copy (``copies''); (latter useful |