Fix build with clang by disabling incompatible cflags

This commit is contained in:
Baptiste Daroussin 2013-05-27 12:45:20 +00:00
parent 90df7850c1
commit 26eab0c72e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319227

View file

@ -35,6 +35,9 @@ post-patch:
${WRKSRC}/docs/wildmidi.cfg.5
${REINPLACE_CMD} -e 's@/usr/local/share/wildmidi/@${DATADIR}/@' \
-e 's@default_timifityconf@default_wildmidiconf@' \
-e 's@-fexpensive-optimizations@@g' \
-e 's@-finline-limit=32000@@g' \
-e 's@-frename-registers@@g' \
${WRKSRC}/configure
${REINPLACE_CMD} -e '/WM_MixerOptions/s/ \&\& / \& /' \
${WRKSRC}/src/wildmidi_lib.c