atefsaeed2010 / asterisk-chan-dongle-01

Automatically exported from code.google.com/p/asterisk-chan-dongle
Other
0 stars 1 forks source link

Weird compiler options during build #146

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

When building a non-debug version of chan_dongle, the build system uses the 
following options:
S["CFLAGS"]="-g -O2 -O6"

- I'm guessing the '-g' option should only appear in debug builds, and only one 
'-Ox' should be used in production builds
- '-O3' is the maximum optimization level in gcc, '-O6' gets silently replaced 
by '-O3' (should someone want to build with another compiler however, e.g. 
clang, this would produce an error!)

Thanks for the awesome software, I'm having a lot of fun! :)

Best regards,

-- 
Gautier

Original issue reported on code.google.com by gaut...@gmail.com on 25 Aug 2013 at 8:18

GoogleCodeExporter commented 9 years ago
whats options asterisk build use ?

Original comment by bg_...@mail.ru on 8 Sep 2013 at 12:00

GoogleCodeExporter commented 9 years ago
i just copy options from asterisk building process :)

you free to change this compiler settings by 

CFLAGS="xxx" ./configure OPTIONSyyyy

Original comment by bg_...@mail.ru on 30 Dec 2013 at 9:43