summaryrefslogtreecommitdiff
path: root/build-aux/cccl
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/cccl')
-rw-r--r--build-aux/cccl8
1 files changed, 8 insertions, 0 deletions
diff --git a/build-aux/cccl b/build-aux/cccl
index c18629af6..1a06e3878 100644
--- a/build-aux/cccl
+++ b/build-aux/cccl
@@ -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"