diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2021-10-11 12:36:28 +0200 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2021-12-24 12:52:14 +0100 |
commit | a38184edb50b6d0905413782fc615e6883dbaf1c (patch) | |
tree | 8f43ea26ebe4262eaa63a6e1bb29498d466cbff0 | |
parent | 8a378ba9b85e23a6e2e67b01a1b3d738e86faefe (diff) |
Link crc32_test and infcover with $(CFLAGS)
This fixes link failures when using CFLAGS=-m31 on IBM Z. All the
other tests are already linked this way.
-rw-r--r-- | Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in index bb953d1..dbf22eb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -217,7 +217,7 @@ infcover.o: $(SRCDIR)/test/infcover.c $(SRCDIR)/zlib$(SUFFIX).h zconf$(SUFFIX).h $(CC) $(CFLAGS) $(INCLUDES) -c -o $@ $(SRCDIR)/test/infcover.c infcover$(EXE): infcover.o $(STATICLIB) - $(CC) $(LDFLAGS) -o $@ infcover.o $(STATICLIB) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ infcover.o $(STATICLIB) ifneq ($(STRIP),) $(STRIP) $@ endif @@ -286,7 +286,7 @@ ifneq ($(STRIP),) endif crc32_test$(EXE): crc32_test.o $(STATICLIB) - $(CC) $(LDFLAGS) -o $@ crc32_test.o $(TEST_LIBS) $(LDSHAREDLIBC) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ crc32_test.o $(TEST_LIBS) $(LDSHAREDLIBC) ifneq ($(STRIP),) $(STRIP) $@ endif |