From 581344f7b4ad00d191e54c6654e58bc7ceeb442b Mon Sep 17 00:00:00 2001 From: Michael Reim Date: Fri, 10 Nov 2017 16:42:02 +0100 Subject: [PATCH] Change Makefiles to be compatible with non-GCC platforms (e.g. FreeBSD) --- Makefile | 2 +- contrib/liblzma/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c0ec014..47cb9a3 100644 --- a/Makefile +++ b/Makefile @@ -42,4 +42,4 @@ liblzma: contrib: bzip2 giflib packjpg packmp3 zlib liblzma $(PROGNAME): contrib - g++ $(CFLAGS) $(GIFLIB_OBJ) $(PACKJPG_OBJ) $(PACKMP3_OBJ) $(BZIP2_OBJ) $(ZLIB_OBJ) $(LIBLZMA_OBJ) $(LIBLZMA_CPP) precomp.cpp -s -oprecomp + c++ $(CFLAGS) $(GIFLIB_OBJ) $(PACKJPG_OBJ) $(PACKMP3_OBJ) $(BZIP2_OBJ) $(ZLIB_OBJ) $(LIBLZMA_OBJ) $(LIBLZMA_CPP) precomp.cpp -s -oprecomp diff --git a/contrib/liblzma/Makefile b/contrib/liblzma/Makefile index 451351f..b358ff3 100644 --- a/contrib/liblzma/Makefile +++ b/contrib/liblzma/Makefile @@ -10,4 +10,4 @@ clean: rm -f *.o liblzma: - gcc $(CFLAGS) $(LIBLZMA_INCLUDES) $(LIBLZMA_C) + cc $(CFLAGS) $(LIBLZMA_INCLUDES) $(LIBLZMA_C)