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:
Matthieu Gautier 2017-05-03 18:56:43 +02:00
parent cfa7f0cb42
commit 317bc207fb
1 changed files with 0 additions and 2 deletions

View File

@ -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']