diff options
author | 1997-08-03 18:03:56 +0000 | |
---|---|---|
committer | 1997-08-03 18:03:56 +0000 | |
commit | c73cab747cf474f9d7cd0077402be1e506b7382d (patch) | |
tree | eccb6babc281fd646909ee7f72c1d68eb500ba1b | |
parent | Stupid hack to keep build from dying in texinfo/po when @obj is in da house. (diff) | |
download | wireguard-openbsd-c73cab747cf474f9d7cd0077402be1e506b7382d.tar.xz wireguard-openbsd-c73cab747cf474f9d7cd0077402be1e506b7382d.zip |
mips needs -call_shared to as for asm code
-rw-r--r-- | gnu/lib/libgmp/Makefile.bsd-wrapper | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/lib/libgmp/Makefile.bsd-wrapper b/gnu/lib/libgmp/Makefile.bsd-wrapper index 3bd6807441b..e3adbc8fc0a 100644 --- a/gnu/lib/libgmp/Makefile.bsd-wrapper +++ b/gnu/lib/libgmp/Makefile.bsd-wrapper @@ -1,8 +1,12 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.3 1997/06/28 01:45:22 downsj Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.4 1997/08/03 18:03:56 pefo Exp $ SUBDIR+= mpn mpz mpf mpq +.if (${MACHINE_ARCH} == "mips") +GNUCFLAGS= CFLAGS="${CFLAGS} ${COPTS} -Wa,-call_shared" +.else GNUCFLAGS= CFLAGS="${CFLAGS} ${COPTS}" +.endif all: config.status ${MAKE} ${GNUCFLAGS} BISON=yacc CC=${CC} LDFLAGS=${LDSTATIC} \ |