357f4e1
--- config/get_cc
357f4e1
+++ config/get_cc
06e7417
@@ -93,7 +93,7 @@ if test -n "$__gnuc__"; then
357f4e1
   cmd="$CC $CFLAGS $extraflag -fno-strict-aliasing -o $exe gnu.c"
357f4e1
   . log_cmd
357f4e1
   if test -s $exe; then
357f4e1
-    OPTFLAGS="$OPTFLAGS -fno-strict-aliasing"
357f4e1
+    OPTFLAGS="@OPTFLAGS@ -fno-strict-aliasing"
357f4e1
   fi
06e7417
   . cleanup_exe
357f4e1
   KERNELCFLAGS=-funroll-loops