diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-19 00:45:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-19 00:45:38 +0000 |
commit | 31248ebd7391707f765751c235fa1877ae526bd6 (patch) | |
tree | ed554f6d6640e2c70ad89d3dff9643d623e136e9 | |
parent | 621fab9a1743230d379cc9d65c52f0482e77ea7a (diff) |
if $(LD) doesnt support --help, dont warn about it (stupid Darwin users)
-rw-r--r-- | Rules.mak | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -296,7 +296,7 @@ ifndef LDPIEFLAG ifneq ($(UCLIBC_BUILD_PIE),y) export LDPIEFLAG:= else -export LDPIEFLAG:=$(shell $(LD) --help | grep -q pie && echo "-Wl,-pie") +export LDPIEFLAG:=$(shell $(LD) --help 2>/dev/null | grep -q -- -pie && echo "-Wl,-pie") endif endif |