Skip to content

Commit e2fb1d0

Browse files
author
John Criswell
committed
Defined the NO_DUMMY_DECL variable. This removes the zlib hack that
for "bad compilers" that generates a type conflict resolution error when linking zlib with gccld. llvm-svn: 12478
1 parent 3c5f220 commit e2fb1d0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/runtime/zlib/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ BYTECODE_LIBRARY=1
1111
BUILD_ARCHIVE=1
1212
DONT_BUILD_RELINKED=1
1313
LIBRARYNAME=z
14+
CPPFLAGS += -DNO_DUMMY_DECL=1
1415

1516
Source = adler32.c compress.c crc32.c gzio.c uncompr.c deflate.c trees.c \
1617
zutil.c inflate.c infback.c inftrees.c inffast.c

0 commit comments

Comments
 (0)