diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-02 10:05:23 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2010-05-02 10:05:23 +0000 |
commit | e74d0a51743999e0b97f0f793d8372d65ddb8d30 (patch) | |
tree | 642588857c7c64cc30a4a3c8e9e0752954ece7e0 /gnu/usr.bin/cc | |
parent | e96383e55d35a7bcf574a642a7488f55f892388c (diff) |
Add missing -fPIC or hppa.
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r-- | gnu/usr.bin/cc/libgcc/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/libgcc/Makefile b/gnu/usr.bin/cc/libgcc/Makefile index 467e25d1610..1a74d632c79 100644 --- a/gnu/usr.bin/cc/libgcc/Makefile +++ b/gnu/usr.bin/cc/libgcc/Makefile @@ -1,5 +1,5 @@ # $FreeBSD: src/gnu/lib/libgcc/Makefile,v 1.58.8.1 2009/04/15 03:14:26 kensmith Exp $ -# $OpenBSD: Makefile,v 1.5 2010/04/29 14:26:46 drahn Exp $ +# $OpenBSD: Makefile,v 1.6 2010/05/02 10:05:22 kettenis Exp $ .include <bsd.own.mk> @@ -117,7 +117,7 @@ LIB2FUNCS_EXTRA = floatunsidf.c floatunsisf.c .endif .if ${TARGET_ARCH} == "hppa" -CFLAGS+= -DELF=1 -DLINUX=1 +CFLAGS+= -fPIC -DELF=1 -DLINUX=1 LIB1ASMFUNCS = _divI _divU _remI _remU _div_const _mulI _dyncall LIB1ASMSRC = pa/milli64.S LIB2FUNCS_EXTRA = fptr.c |