mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-24 08:30:37 +00:00
removed -static-libubsan
This commit is contained in:
2
Makefile
2
Makefile
@@ -19,7 +19,7 @@ else ifeq ($(BUILD_TYPE),debug)
|
||||
PG_CONFIGURE_OPTS = --enable-debug --with-openssl --enable-cassert --enable-depend
|
||||
PG_CFLAGS = -O0 -g3 $(CFLAGS)
|
||||
CPPFLAGS = -fsanitize=address -fsanitize=undefined -fno-sanitize-recover -Wno-cast-function-type-strict
|
||||
LDFLAGS = -fsanitize=address -fsanitize=undefined -static-libubsan
|
||||
LDFLAGS = -fsanitize=address -fsanitize=undefined
|
||||
else
|
||||
$(error Bad build type '$(BUILD_TYPE)', see Makefile for options)
|
||||
endif
|
||||
|
||||
@@ -33,8 +33,8 @@ fn main() -> anyhow::Result<()> {
|
||||
{
|
||||
println!("cargo:rustc-link-arg=-fsanitize=address");
|
||||
println!("cargo:rustc-link-arg=-fsanitize=undefined");
|
||||
println!("cargo:rustc-link-arg=-static-libasan");
|
||||
println!("cargo:rustc-link-arg=-static-libubsan");
|
||||
// println!("cargo:rustc-link-arg=-static-libasan");
|
||||
//println!("cargo:rustc-link-arg=-static-libubsan");
|
||||
}
|
||||
println!("cargo:rustc-link-lib=static=pgport");
|
||||
println!("cargo:rustc-link-lib=static=pgcommon");
|
||||
|
||||
Reference in New Issue
Block a user