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

Pass CFLAGS and LDFLAGS to libffi's configure

parent 46d2e100
...@@ -119,10 +119,13 @@ $(libffi_STAMP_CONFIGURE): ...@@ -119,10 +119,13 @@ $(libffi_STAMP_CONFIGURE):
PATH=`pwd`:$$PATH; \ PATH=`pwd`:$$PATH; \
export PATH; \ export PATH; \
cd build && \ cd build && \
CC=$(WhatGccIsCalled) $(SHELL) configure \ CC=$(WhatGccIsCalled) \
--enable-static=yes \ CFLAGS="$(SRC_CC_OPTS)" \
LDFLAGS="$(SRC_LD_OPTS)" \
$(SHELL) configure \
--enable-static=yes \
--enable-shared=$(libffi_EnableShared) \ --enable-shared=$(libffi_EnableShared) \
--host=$(PLATFORM) --build=$(PLATFORM) --host=$(PLATFORM) --build=$(PLATFORM)
# libffi.so needs to be built with the correct soname. # libffi.so needs to be built with the correct soname.
# NOTE: this builds libffi_convience.so with the incorrect # NOTE: this builds libffi_convience.so with the incorrect
......
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