Do not force specific arguments when compiling for win32.
Those option should be set by build system, not by kiwix-build. Moreover, this impact other libraries (as icu) and generate pretty big library binaries.
This commit is contained in:
parent
cfa7f0cb42
commit
317bc207fb
|
@ -614,8 +614,6 @@ class mingw32_toolchain(Toolchain):
|
|||
env[k] = v
|
||||
|
||||
env['PKG_CONFIG_LIBDIR'] = pj(self.root_path, 'lib', 'pkgconfig')
|
||||
env['CFLAGS'] = " -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "+env['CFLAGS']
|
||||
env['CXXFLAGS'] = " -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 "+env['CXXFLAGS']
|
||||
env['LIBS'] = " ".join(self.buildEnv.cross_config['extra_libs']) + " " +env['LIBS']
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue