mirror of
https://github.com/ziglang/zig.git
synced 2026-01-05 13:03:25 +00:00
remove reduntant new/delete implementation
The same code is provided by both libxx and libxxabi, and removed at linktime.
This commit is contained in:
parent
32154fbf0d
commit
acaa0b8f08
@ -129,6 +129,7 @@ pub fn buildLibCXX(comp: *Compilation) !void {
|
||||
try cflags.append("-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS");
|
||||
try cflags.append("-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS");
|
||||
try cflags.append("-D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS");
|
||||
try cflags.append("-D_LIBCPP_DISABLE_NEW_DELETE_DEFINITIONS");
|
||||
try cflags.append("-fvisibility=hidden");
|
||||
try cflags.append("-fvisibility-inlines-hidden");
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user