mpi: Yet another fix to get option flag munging right.
authorWerner Koch <wk@gnupg.org>
Thu, 18 Apr 2013 12:40:43 +0000 (14:40 +0200)
committerWerner Koch <wk@gnupg.org>
Thu, 18 Apr 2013 13:23:35 +0000 (15:23 +0200)
* cipher/Makefile.am (o_flag_munging): Yet another fix.

cipher/Makefile.am

index b5d8c4f..c39f627 100644 (file)
@@ -78,7 +78,7 @@ rfc2268.c \
 camellia.c camellia.h camellia-glue.c camellia_aesni_avx_x86-64.S
 
 if ENABLE_O_FLAG_MUNGING
-o_flag_munging = sed -e 's/-O([2-9s]|fast)*/-O1/g'
+o_flag_munging = sed -e 's/-O\([2-9s][2-9s]*\)/-O1/' -e 's/-Ofast/-O1/g'
 else
 o_flag_munging = cat
 endif