Skip to content

Commit

Permalink
do not overwrite LDFLAGS in tests/Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed May 10, 2014
1 parent d27b015 commit 595386c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,9 @@ PKGCFGF = $(BLDIR)/$(LIBNAME).pc

all: $(LIBRARY) $(ARCHIVE) $(PKGCFGF)
ifndef BUILDDIR
$(MAKE) -C tests
$(MAKE) -C tests LDFLAGS=
else
$(MAKE) -C tests BUILDDIR=$(BLDIR)
$(MAKE) -C tests BUILDDIR=$(BLDIR) LDFLAGS=
endif
ifeq ($(CAPSTONE_SHARED),yes)
$(INSTALL_DATA) $(BLDIR)/lib$(LIBNAME).$(EXT) $(BLDIR)/tests/
Expand Down
4 changes: 2 additions & 2 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ CC = $(CROSS)gcc
endif


CFLAGS = -O3 -Wall -I$(INCDIR)
LDFLAGS = -L$(LIBDIR)
CFLAGS += -O3 -Wall -I$(INCDIR)
LDFLAGS += -L$(LIBDIR)

LIBNAME = capstone

Expand Down

0 comments on commit 595386c

Please sign in to comment.