added support for compiling with gcc on Solaris

Tue, 22 Mar 2016 15:40:34 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Tue, 22 Mar 2016 15:40:34 +0100
changeset 234
33f373b28c8c
parent 233
d8042cede66c
child 235
0468df02e18f

added support for compiling with gcc on Solaris

clang.mk file | annotate | diff | comparison | revisions
dav/version.h file | annotate | diff | comparison | revisions
gcc.mk file | annotate | diff | comparison | revisions
libidav/crypto.h file | annotate | diff | comparison | revisions
mingw.mk file | annotate | diff | comparison | revisions
osx.mk file | annotate | diff | comparison | revisions
suncc.mk file | annotate | diff | comparison | revisions
--- a/clang.mk	Tue Mar 22 13:05:09 2016 +0100
+++ b/clang.mk	Tue Mar 22 15:40:34 2016 +0100
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  = -g -DDEBUG -c
+CFLAGS  = -g -c -D_FILE_OFFSET_BITS=64
 COFLAGS = -o
 LDFLAGS = 
 LOFLAGS = -o
--- a/dav/version.h	Tue Mar 22 13:05:09 2016 +0100
+++ b/dav/version.h	Tue Mar 22 15:40:34 2016 +0100
@@ -29,7 +29,7 @@
 #ifndef VERSION_H
 #define VERSION_H
 
-#define DAV_VERSION "0.9.8 dev"
+#define DAV_VERSION "0.9.9 RC1"
 
 #endif /* VERSION_H */
 
--- a/gcc.mk	Tue Mar 22 13:05:09 2016 +0100
+++ b/gcc.mk	Tue Mar 22 15:40:34 2016 +0100
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  = -std=gnu99 -g -DDEBUG -c -D_FILE_OFFSET_BITS=64
+CFLAGS  = -std=gnu99 -g -c -D_FILE_OFFSET_BITS=64
 COFLAGS = -o
 LDFLAGS = 
 LOFLAGS = -o
--- a/libidav/crypto.h	Tue Mar 22 13:05:09 2016 +0100
+++ b/libidav/crypto.h	Tue Mar 22 15:40:34 2016 +0100
@@ -33,7 +33,7 @@
 #include <openssl/evp.h>
 #include <ucx/string.h>
 
-#ifdef __sun
+#if defined(__sun) && defined(__SunOS_5_10)
 #include <sha2.h>
 #define SHA256_Init     SHA256Init
 #define SHA256_Update   SHA256Update
--- a/mingw.mk	Tue Mar 22 13:05:09 2016 +0100
+++ b/mingw.mk	Tue Mar 22 15:40:34 2016 +0100
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  = -std=gnu99 -g -DDEBUG -c 
+CFLAGS  = -std=gnu99 -g -c 
 COFLAGS = -o
 LDFLAGS = 
 LOFLAGS = -o
--- a/osx.mk	Tue Mar 22 13:05:09 2016 +0100
+++ b/osx.mk	Tue Mar 22 15:40:34 2016 +0100
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  = -g -DDEBUG -c -Wno-deprecated -Wno-format
+CFLAGS  = -g -c -Wno-deprecated -Wno-format
 COFLAGS = -o
 LDFLAGS = 
 LOFLAGS = -o
--- a/suncc.mk	Tue Mar 22 13:05:09 2016 +0100
+++ b/suncc.mk	Tue Mar 22 15:40:34 2016 +0100
@@ -31,7 +31,7 @@
 AR = ar
 RM = rm
 
-CFLAGS  = -g -DDEBUG -c -xc99 -D_REENTRANT
+CFLAGS  = -g -c -xc99 -D_FILE_OFFSET_BITS=64
 COFLAGS = -o
 LDFLAGS = -lmd -lm
 LOFLAGS = -o

mercurial