Branch: refs/heads/master Author: Enrico Tröger enrico.troeger@uvena.de Committer: Enrico Tröger enrico.troeger@uvena.de Date: Sun, 09 Nov 2014 13:13:43 UTC Commit: ec93784c7f8c5e95d58c1f28b7c61d88ac7dbd37 https://github.com/geany/geany-plugins/commit/ec93784c7f8c5e95d58c1f28b7c61d...
Log Message: ----------- Set -O2 compiler flag by default for gcc
But only if no other optimization flags could be found.
Modified Paths: -------------- wscript
Modified: wscript 2 lines changed, 2 insertions(+), 0 deletions(-) =================================================================== @@ -114,6 +114,8 @@ def configure(conf): setup_makefile(conf) conf.write_config_header('config.h')
+ if conf.env['CC_NAME'] == 'gcc' and '-O' not in ''.join(conf.env['CFLAGS']): + conf.env.append_value('CFLAGS', ['-O2']) # enable debug when compiling from VCS if revision is not None: conf.env.append_value('CFLAGS', '-g -DDEBUG'.split()) # -DGEANY_DISABLE_DEPRECATED
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org