datapath-windows: Avoid BSOD when no event queue found.
[cascardo/ovs.git] / build-aux / cccl
index c18629a..b182805 100644 (file)
@@ -89,6 +89,14 @@ EOF
         linkopt="$linkopt ${slash}DEBUG"
         ;;
 
+    -O0)
+        clopt="$clopt ${slash}Ot"
+        ;;
+
+    -O2)
+        clopt="$clopt ${slash}O2"
+        ;;
+
     -L*)
         path=`echo "$1" | sed 's/-L//'`
         linkopt="$linkopt ${slash}LIBPATH:$path"
@@ -140,6 +148,10 @@ EOF
         #ignore warnings
         ;;
 
+    -fno-strict-aliasing*)
+        #ignore aliasing
+        ;;
+
     -isystem)
         shift
         clopt="$clopt -I$1"