aboutsummaryrefslogtreecommitdiff
path: root/net/samba410/Makefile
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2020-02-09 12:03:09 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2020-02-09 12:03:09 +0000
commitd6874e7c55f00294f4dde00ed702d10b1729978f (patch)
tree33d36c6951ba7ac443ec721741de5faa5b5c0c66 /net/samba410/Makefile
parente26f3874d66f67d1616336d497d44f92ee47a974 (diff)
downloadports-d6874e7c55f00294f4dde00ed702d10b1729978f.tar.gz
ports-d6874e7c55f00294f4dde00ed702d10b1729978f.zip
net/samba410: disable DEBUG on powerpc64
-O0 breaks assumption that the compiler is optimizing functions, which leads to unresolved symbols: ld: error: /wrkdirs/usr/ports/net/samba410/work/samba-4.10.13/bin/default/source3/libsmbd-base-samba4.so: undefined reference to __unsafe_string_function_usage_here_NTSTATUS__ DEBUG option probably shouldn't be on by default anyway, but I assume there must be some reason for it.
Notes
Notes: svn path=/head/; revision=525653
Diffstat (limited to 'net/samba410/Makefile')
-rw-r--r--net/samba410/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/samba410/Makefile b/net/samba410/Makefile
index a9427a2f2199..a22cdf40d3d4 100644
--- a/net/samba410/Makefile
+++ b/net/samba410/Makefile
@@ -89,6 +89,7 @@ OPTIONS_DEFINE+= DEVELOPER MANDOC
OPTIONS_DEFINE_amd64= AESNI
OPTIONS_DEFAULT_amd64= AESNI
+OPTIONS_EXCLUDE_powerpc64= DEBUG
OPTIONS_GROUP= VFS
OPTIONS_GROUP_VFS= FRUIT GLUSTERFS