forked from Lainports/freebsd-ports
- Fix LICENSE - Strip libraries - Respect CFLAGS/CXXFLAGS - Make proj optional - Switch to options helpers - Simplify docs installation PR: 207060 Submitted by: amdmi3 Approved by: maintainer timeout (littlesavage@rambler.ru, 3 weeks)
13 lines
566 B
Text
13 lines
566 B
Text
--- SConstruct.orig 2016-02-15 15:52:54 UTC
|
|
+++ SConstruct
|
|
@@ -1789,10 +1789,6 @@ if not preconfigured:
|
|
|
|
if env['DEBUG']:
|
|
env.Append(CXXFLAGS = common_cxx_flags + '-O0')
|
|
- else:
|
|
- # TODO - add back -fvisibility-inlines-hidden
|
|
- # https://github.com/mapnik/mapnik/issues/1863
|
|
- env.Append(CXXFLAGS = common_cxx_flags + '-O%s' % (env['OPTIMIZATION']))
|
|
if env['DEBUG_UNDEFINED']:
|
|
env.Append(CXXFLAGS = '-fsanitize=undefined-trap -fsanitize-undefined-trap-on-error -ftrapv -fwrapv')
|
|
|