Skip to content
Snippets Groups Projects
Commit 6f9011f0 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

cmake: properly pass host cflags/ldflags to the build


This should hopefully fix build issues where libraries that we ship in
tools/ were accidentally picked up from other places on the system, e.g.
/usr/local

Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 79697701
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,8 @@ HOST_CONFIGURE_CMD := \
$(BASH) ./configure \
$(if $(MAKE_JOBSERVER),--parallel="$(MAKE_JOBSERVER)")
HOST_CONFIGURE_VARS :=
HOST_CONFIGURE_VARS += \
CXXFLAGS="$(HOST_CFLAGS)"
HOST_CONFIGURE_ARGS := \
--prefix=$(STAGING_DIR_HOST)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment