diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-16 14:51:01 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-16 14:51:01 +0200 |
commit | 781a0cf37456a5b7b4d0d9106ef3401a9936b842 (patch) | |
tree | a5dc513823acbc900590fa4a05885fbb1887c478 /package/elftoaout/Makefile | |
parent | e95992acc7fbe25c21bacb82ba7ab38bc75f7646 (diff) |
elftoaout: fix on Darwin
Diffstat (limited to 'package/elftoaout/Makefile')
-rw-r--r-- | package/elftoaout/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/package/elftoaout/Makefile b/package/elftoaout/Makefile index 9f374e31d..51af97ee8 100644 --- a/package/elftoaout/Makefile +++ b/package/elftoaout/Makefile @@ -20,6 +20,10 @@ $(eval $(call HOST_template,ELFTOAOUT,elftoaout,$(PKG_VERSION)-$(PKG_RELEASE))) HOST_STYLE:= manual +ifeq ($(OS_FOR_BUILD),Darwin) +HOST_CFLAGS+= -I$(ADK_TOPDIR)/adk/include +endif + host-build: $(HOST_CC) $(HOST_CFLAGS) -o $(WRKBUILD)/elftoaout $(WRKBUILD)/elftoaout.c |