diff options
| author | Igor Pashev <pashev.igor@gmail.com> | 2013-12-20 22:15:03 +0400 |
|---|---|---|
| committer | Igor Pashev <pashev.igor@gmail.com> | 2013-12-20 22:15:03 +0400 |
| commit | 916fae90e77f1e38a09d5c6f108e01e7f68735bf (patch) | |
| tree | a68026c84fecce3e115c90403f41593c7061a270 /debian/rules | |
| parent | a6fde7438dda511a6e10aef0872a45719f8013fc (diff) | |
| download | php-916fae90e77f1e38a09d5c6f108e01e7f68735bf.tar.gz | |
Disable dtrace on illumos
Diffstat (limited to 'debian/rules')
| -rwxr-xr-x | debian/rules | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index abcdadf89..2c49cae69 100755 --- a/debian/rules +++ b/debian/rules @@ -148,8 +148,14 @@ COMMON_CONFIG=--build=$(DEB_BUILD_GNU_TYPE) \ --enable-zip \ --with-mhash=yes \ --with-system-tzdata \ - --with-mysql-sock=/var/run/mysqld/mysqld.sock \ - --enable-dtrace + --with-mysql-sock=/var/run/mysqld/mysqld.sock + +# dtrace does not work with GNU ld yet: +ifeq ($(DEB_HOST_ARCH),illumos-amd64) + COMMON_CONFIG += --disable-dtrace +else + COMMON_CONFIG += --enable-dtrace +endif BUILTIN_EXTENSION_CHECK=$$e=get_loaded_extensions(); natcasesort($$e); \ $$s="The following extensions are built in:"; \ |
