Skip to content
Browse files

libgcc.a47: build with -fpic

The vendor makefile builds libgcc.a with the PIC flag.  The x86_64
platform needs it for packages that need need to link to libgcc.a
  • Loading branch information...
1 parent 7f32c88 commit 16348f3142ec62b5d9ebc02695e606859d8b41f7 John Marino committed with François Tigeot Oct 7, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 gnu/lib/gcc47/libgcc/Makefile
View
2 gnu/lib/gcc47/libgcc/Makefile
@@ -14,6 +14,8 @@ CFLAGS+= -I../csu
CFLAGS+= -fbuilding-libgcc
CFLAGS+= -fno-stack-protector
CFLAGS+= -fvisibility=hidden
+CFLAGS+= -fpic
+CFLAGS+= -DPIC
CFLAGS+= -DIN_GCC
CFLAGS+= -DIN_LIBGCC2
CFLAGS+= -DHAVE_CC_TLS

0 comments on commit 16348f3

Please sign in to comment.
Something went wrong with that request. Please try again.