mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
Respect CFLAGS, should fix build on alpha
This commit is contained in:
parent
d470a37d9d
commit
73925f7101
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94636
@ -24,10 +24,15 @@ CONFIGURE_ARGS= --enable-pthread \
|
||||
--enable-batch \
|
||||
--includedir="${PREFIX}/include/pth" \
|
||||
--libdir="${PREFIX}/lib/pth"
|
||||
USE_REINPLACE= yes
|
||||
|
||||
MAN1= pth-config.1 pthread-config.1
|
||||
MAN3= pth.3 pthread.3
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e \
|
||||
"s,-funroll-loops -fstrength-reduce -fomit-frame-pointer -ffast-math,${CFLAGS}," \
|
||||
${WRKSRC}/configure
|
||||
post-build:
|
||||
@${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user