ports/www/mod_pagespeed/files/patch-build_common.gypi
Mahdi Mokhtari 60a05e200a www/mod_pagespeed: Add latest stable version to the tree
mod_pagespeed is an open-source Apache module that automatically
optimizes web pages and resources on them by rewriting the
resources using filters that implement web performance best practices.

Reviewed by:	mat (mentor)
Approved by:	mat (mentor)
Sponsored by:	Netzkommune GmbH
Differential Revision:	https://reviews.freebsd.org/D12616
2017-10-13 15:15:53 +00:00

27 lines
741 B
Python

--- build/common.gypi.orig 2017-10-06 23:46:24 UTC
+++ build/common.gypi
@@ -44,7 +44,7 @@
# way for our users to change the compiler (since gclient gets in
# the way of tweaking gyp flags directly).
'clang_version':
- '<!(python <(DEPTH)/build/clang_version.py)',
+ '<!(python2.7 <(DEPTH)/build/clang_version.py)',
'conditions': [
# TODO(morlovich): AIX, Solaris, FreeBSD10?
@@ -131,6 +131,15 @@
# libraries.
'ldflags!': [
'-Wl,-z,defs',
+ '-zdefs',
+ ],
+ 'cflags!': [
+ '-Wl,-z,defs',
+ '-zdefs',
+ ],
+ 'cflags_cc!': [
+ '-Wl,-z,defs',
+ '-zdefs',
],
}],
['OS == "mac"', {