lib/replace: don't set -D_SAMBA_HOSTCC_ explicitly
authorStefan Metzmacher <metze@samba.org>
Fri, 3 Apr 2020 09:50:53 +0000 (11:50 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 20 Apr 2021 11:42:37 +0000 (11:42 +0000)
use_hostcc=True already triggers this.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
lib/replace/wscript

index 2c856b61a0f2c1e7c475f3a344283c5f41aa94d5..21b29bb9b9011721b2bbdb505ba28aa8f59efafd 100644 (file)
@@ -881,7 +881,6 @@ def build(bld):
         REPLACE_HOSTCC_SOURCE,
         use_hostcc=True,
         use_global_deps=False,
-        cflags='-D_SAMBA_HOSTCC_',
         group='compiler_libraries',
         deps = extra_libs
     )