Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:belphegor_belbel:instlux
nsis
nsis-RPM_OPT_FLAGS.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nsis-RPM_OPT_FLAGS.diff of Package nsis
diff -Naru nsis-3.03-src_orig/SCons/Config/gnu nsis-3.03-src/SCons/Config/gnu --- nsis-3.03-src_orig/SCons/Config/gnu 2017-10-07 04:30:20.000000000 +0900 +++ nsis-3.03-src/SCons/Config/gnu 2018-02-27 14:26:27.682854065 +0900 @@ -1,5 +1,7 @@ print("Using GNU tools configuration") +import os + Import('defenv') ### imports @@ -91,7 +93,7 @@ stub_env.Append(CPPPATH = ['#$BUILD_CONFIG']) if not defenv['DEBUG']: - stub_env.Append(CCFLAGS = ['-Os']) # optimize for size + stub_env.Append(CCFLAGS = os.getenv('RPM_OPT_FLAGS')) # optimize stub_env.Append(CCFLAGS = ['-Wall']) # all warnings stub_env.Append(CCFLAGS = ['-xc']) # force compile as c stub_env.Append(CCFLAGS = ['-fno-strict-aliasing']) # not safe for strict aliasing @@ -113,7 +115,7 @@ makensis_env.Append(CPPPATH = ['#$BUILD_CONFIG']) if not defenv['DEBUG']: - makensis_env.Append(CCFLAGS = ['-O2']) # optimize + makensis_env.Append(CCFLAGS = os.getenv('RPM_OPT_FLAGS')) # optimize makensis_env.Append(CFLAGS = ['-Wall']) # all warnings makensis_env.Append(CXXFLAGS = ['-Wno-non-virtual-dtor']) # ignore virtual dtor warnings makensis_env.Append(CXXFLAGS = ['-Wall']) # all warnings @@ -131,7 +133,7 @@ cross_env(plugin_env) if not defenv['DEBUG']: - plugin_env.Append(CCFLAGS = ['-Os']) # optimize for size + plugin_env.Append(CCFLAGS = os.getenv('RPM_OPT_FLAGS')) # optimize plugin_env.Append(CCFLAGS = ['-Wall']) # level 3 warnings plugin_env.Append(CCFLAGS = ['-fno-strict-aliasing']) # not safe for strict aliasing @@ -159,7 +161,7 @@ cp_util_env.Append(LINKFLAGS = ['$ALIGN_FLAG']) # 512 bytes align if not defenv['DEBUG']: - cp_util_env.Append(CCFLAGS = ['-O2']) # optimize + cp_util_env.Append(CCFLAGS = os.getenv('RPM_OPT_FLAGS')) # optimize cp_util_env.Append(CCFLAGS = ['-Wall']) # all warnings cp_util_env.Append(CCFLAGS = ['-fno-strict-aliasing']) # not safe for strict aliasing @@ -175,7 +177,7 @@ util_env.Append(CPPPATH = ['#$BUILD_CONFIG']) if not defenv['DEBUG']: - util_env.Append(CCFLAGS = ['-O2']) # optimize + util_env.Append(CCFLAGS = os.getenv('RPM_OPT_FLAGS')) # optimize util_env.Append(CCFLAGS = ['-Wall']) # all warnings util_env.Append(CCFLAGS = ['-fno-strict-aliasing']) # not safe for strict aliasing
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor