mirror of
https://github.com/psa/libtensorflow1-freebsd-port.git
synced 2025-12-11 17:30:27 +01:00
Remove excess CC_OPT_FLAGS and bump port version
-march=native can cause problems with the build server is much newer than a client machine -Wno-sign-compare just makes for a quieter build, no real value in a port
This commit is contained in:
3
Makefile
3
Makefile
@@ -2,6 +2,7 @@ PORTNAME= libtensorflow1
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.15.5
|
||||
DISTVERSIONSUFFIX=
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= science
|
||||
|
||||
MAINTAINER= freebsd-ports@otoh.org
|
||||
@@ -128,7 +129,7 @@ post-patch:
|
||||
|
||||
do-configure:
|
||||
@cd ${WRKSRC} && ${SETENV} \
|
||||
CC_OPT_FLAGS="-I${LOCALBASE}/include -march=native -Wno-sign-compare" \
|
||||
CC_OPT_FLAGS="-I${LOCALBASE}/include" \
|
||||
PREFIX="${LOCALBASE}" \
|
||||
PYTHON_BIN_PATH=${PYTHON_CMD} \
|
||||
PYTHON_LIB_PATH="${PYTHON_SITELIBDIR}" \
|
||||
|
||||
Reference in New Issue
Block a user