Module Name: src
Committed By: matt
Date: Thu Jun 27 03:37:21 UTC 2013
Modified Files:
src/lib/csu/common: Makefile.inc
Log Message:
Add -fPIC to compile of crtbeginS.o
To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/lib/csu/common/Makefile.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/csu/common/Makefile.inc
diff -u src/lib/csu/common/Makefile.inc:1.10 src/lib/csu/common/Makefile.inc:1.11
--- src/lib/csu/common/Makefile.inc:1.10 Tue Jun 25 07:18:02 2013
+++ src/lib/csu/common/Makefile.inc Thu Jun 27 03:37:21 2013
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.10 2013/06/25 07:18:02 matt Exp $
+# $NetBSD: Makefile.inc,v 1.11 2013/06/27 03:37:21 matt Exp $
.include <bsd.own.mk>
@@ -34,7 +34,7 @@ crtbeginS.o: crtbegin.S
.else
crtbeginS.o: crtbegin.c crtbegin.h
${_MKTARGET_COMPILE}
- ${COMPILE.c} -DPIC -DSHARED ${COMMON_DIR}/crtbegin.c -o ${.TARGET}.o
+ ${COMPILE.c} -fPIC -DPIC -DSHARED ${COMMON_DIR}/crtbegin.c -o ${.TARGET}.o
.endif
${LD} -x -r -o ${.TARGET} ${.TARGET}.o
rm -f ${.TARGET}.o