audio/libmad: Convert REINPLACE_CMD to patch file
This commit is contained in:
parent
a219a15792
commit
5cf7913594
@ -29,9 +29,6 @@ SPEED_DESC= Optimize for speed over accuracy
|
||||
SPEED_CONFIGURE_ON= --enable-speed
|
||||
SPEED_CONFIGURE_OFF= --enable-accuracy
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's| -fforce-mem||' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA} ${WRKDIR}/mad.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig/
|
||||
|
||||
|
@ -13,8 +13,9 @@
|
||||
case "$optimize" in
|
||||
-O|"-O "*)
|
||||
optimize="-O"
|
||||
optimize="$optimize -fforce-mem"
|
||||
- optimize="$optimize -fforce-mem"
|
||||
- optimize="$optimize -fforce-addr"
|
||||
+ optimize="$optimize"
|
||||
+ test $CLANG = no && optimize="$optimize -fforce-addr"
|
||||
: #x optimize="$optimize -finline-functions"
|
||||
: #- optimize="$optimize -fstrength-reduce"
|
||||
|
Loading…
Reference in New Issue
Block a user