[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-mips
Subject:    Quagga[-re] on mips64
From:       Joe Holden <lists () rewt ! org ! uk>
Date:       2014-02-04 15:11:05
Message-ID: 52F10309.2010407 () rewt ! org ! uk
[Download RAW message or body]

Hi chaps,

On mips64 (at least), the port produces object files instead of 
executable binaries, building with --disable-pie fixes that...

before I raise a PR, does this look good?

--- Makefile.orig	2014-02-04 12:52:20.740310244 +0000
+++ Makefile	2014-02-04 15:04:34.719614897 +0000
@@ -61,6 +61,10 @@
  ENABLE_GROUP=quagga
  .endif

+.if ${ARCH:Mmips*}
+CONFIGURE_ARGS+=--disable-pie
+.endif
+
  CONFIGURE_ARGS+=--enable-user=${ENABLE_USER}
  CONFIGURE_ARGS+=--enable-group=${ENABLE_GROUP}


This produces a working build/package for me at least, only thing I'm 
not sure on is how that will work if mips packages are ever built for 
installation by pkg and cross-built.

Cheers,
Joe
_______________________________________________
freebsd-mips@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mips
To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic