diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/atlas-devel/Makefile | 8 | ||||
-rw-r--r-- | math/atlas/Makefile | 8 |
2 files changed, 2 insertions, 14 deletions
diff --git a/math/atlas-devel/Makefile b/math/atlas-devel/Makefile index e184cfa2e292..be0fed20477a 100644 --- a/math/atlas-devel/Makefile +++ b/math/atlas-devel/Makefile @@ -50,13 +50,7 @@ post-patch: @(cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/alpha-patch) .endif -.if !defined(PICFLAG) -.if ${MACHINE_ARCH} == "sparc64" -PICFLAG=-fPIC -.else -PICFLAG=-fpic -.endif -.endif +PICFLAG!= ${MAKE} -f bsd.lib.mk -V PICFLAG ANSWER_i386?= ${PRINTF} "\n\n\n\n\n\n\n\n\n\n" ANSWER_ia64?= ${PRINTF} "\n\n\n2\n\n\n\n\nf77\n-O2 -static\n\n" diff --git a/math/atlas/Makefile b/math/atlas/Makefile index a3a0fc74d800..622fefd2a4b4 100644 --- a/math/atlas/Makefile +++ b/math/atlas/Makefile @@ -49,13 +49,7 @@ post-patch: @(cd ${WRKSRC}; ${PATCH} < ${FILESDIR}/alpha-patch) .endif -.if !defined(PICFLAG) -.if ${MACHINE_ARCH} == "sparc64" -PICFLAG=-fPIC -.else -PICFLAG=-fpic -.endif -.endif +PICFLAG!= ${MAKE} -f bsd.lib.mk -V PICFLAG ANSWER_i386?= ${PRINTF} "\n\n\n\n\n\n\n\n\n\n" ANSWER_ia64?= ${PRINTF} "\n\n\n2\n\n\n\n\nf77\n-O2 -static\n\n" |