From e95765027e183728cf830ee0c120df29ce04c0d3 Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Wed, 1 Feb 2017 21:20:57 +0100 Subject: odk: don't run make with LD_LIBRARY_PATH set In a build with -fsanitize=address, this fails with: Change-Id: If8581363a395af78bbbe00dd656290aea53af330 make: symbol lookup error: instdir/program/libfreebl3.so: undefined symbol: __asan_option_detect_stack_use_after_return --- odk/CustomTarget_build-examples.mk | 1 + 1 file changed, 1 insertion(+) (limited to 'odk') diff --git a/odk/CustomTarget_build-examples.mk b/odk/CustomTarget_build-examples.mk index b9c5c534a764..ea4eb3b0381b 100644 --- a/odk/CustomTarget_build-examples.mk +++ b/odk/CustomTarget_build-examples.mk @@ -91,6 +91,7 @@ $(call gb_CustomTarget_get_target,odk/build-examples): \ $(call gb_CustomTarget_get_workdir,odk/build-examples)/setsdkenv $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),CHK,1) (. $< \ + && unset LD_LIBRARY_PATH \ && export \ UserInstallation=$(call gb_Helper_make_url,$(call gb_CustomTarget_get_workdir,odk/build-examples)/user) \ $(foreach my_dir,$(my_example_dirs), \ -- cgit