Commit 2ade23a7 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos

Fix pgc compilation with --disable-optimizations.

-O1 disables dead code elimination on pgc, use -O instead.
parent bdfe60c7
......@@ -2806,7 +2806,7 @@ probe_cc(){
opt_common='-alias=ansi -Mdse -Mlre -Mpre'
_cflags_speed="-O3 -Mautoinline -Munroll=c:4 $opt_common"
_cflags_size="-O2 -Munroll=c:1 $opt_common"
_cflags_noopt="-O1"
_cflags_noopt="-O"
_flags_filter=pgi_flags
elif $_cc 2>&1 | grep -q Microsoft; then
_type=msvc
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment