Commit 51031bf3 authored by Ian Lynagh's avatar Ian Lynagh

Pass CFLAGS and LDFLAGS to libffi's configure

parent 46d2e100
......@@ -119,7 +119,10 @@ $(libffi_STAMP_CONFIGURE):
PATH=`pwd`:$$PATH; \
export PATH; \
cd build && \
CC=$(WhatGccIsCalled) $(SHELL) configure \
CC=$(WhatGccIsCalled) \
CFLAGS="$(SRC_CC_OPTS)" \
LDFLAGS="$(SRC_LD_OPTS)" \
$(SHELL) configure \
--enable-static=yes \
--enable-shared=$(libffi_EnableShared) \
--host=$(PLATFORM) --build=$(PLATFORM)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment