Fix TestCppIncompleteTypes for android/clang
LDFLAGS contains some .a files. If it is specified before the relevant object files, undefined symbol errors occur. llvm-svn: 300048
This commit is contained in:
parent
d3656a03ab
commit
da7b15df70
|
@ -13,10 +13,10 @@ endif
|
|||
all: limit nolimit
|
||||
|
||||
limit: main.o length_limit.o a.o
|
||||
$(CXX) $(LDFLAGS) main.o length_limit.o a.o -o limit
|
||||
$(CXX) main.o length_limit.o a.o -o limit $(LDFLAGS)
|
||||
|
||||
nolimit: main.o length_nolimit.o a.o
|
||||
$(CXX) $(LDFLAGS) main.o length_nolimit.o a.o -o nolimit
|
||||
$(CXX) main.o length_nolimit.o a.o -o nolimit $(LDFLAGS)
|
||||
|
||||
main.o: main.cpp
|
||||
$(CXX) $(CFLAGS_LIMIT) main.cpp -o main.o
|
||||
|
|
Loading…
Reference in New Issue