Skip to content

Commit

Permalink
Fix the include path for Android builds when building cstool (capston…
Browse files Browse the repository at this point in the history
…e-engine#1000)

Previously, the CFLAGS= statement would strip --sysroot from CFLAGS.
  • Loading branch information
zachriggle authored and aquynh committed Aug 29, 2017
1 parent 7925323 commit 8f813d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cstool/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ include ../functions.mk

LIBNAME = capstone

CFLAGS = -I../include
LDFLAGS = -O3 -Wall -L.. -l$(LIBNAME)
CFLAGS += -I../include
LDFLAGS += -O3 -Wall -L.. -l$(LIBNAME)

TARGET = cstool
SOURCES := $(wildcard *.c)
Expand Down

0 comments on commit 8f813d4

Please sign in to comment.