summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-02 18:41:30 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1997-12-02 18:41:30 +0000
commitf3b5aae398a43060fd0426e011d61348cad8951e (patch)
tree186a435165d07a6be4e8e2f1544ce37fdd39484d
parentc829dfedcea3b1588b6ebfc1a6d846602ba248e1 (diff)
downloadATCD-f3b5aae398a43060fd0426e011d61348cad8951e.tar.gz
added -Winline and removed -fno-strict-prototypes
-rw-r--r--include/makeinclude/platform_lynxos.GNU22
1 files changed, 20 insertions, 2 deletions
diff --git a/include/makeinclude/platform_lynxos.GNU b/include/makeinclude/platform_lynxos.GNU
index 52952579329..cd3d6923f3e 100644
--- a/include/makeinclude/platform_lynxos.GNU
+++ b/include/makeinclude/platform_lynxos.GNU
@@ -53,6 +53,20 @@
# #define OBJECT_POSITION 0x31 /* O 14.2.3 */
# #define SCAN 0x1B /* O 14.2.5 */
# #define SET_WINDOW 0x24 /* M 14.2.6 */
+#
+# And this patch to /usr/include/netdb.h:
+# --- netdb.h.ORIGINAL Sat Feb 8 09:57:36 1997
+# +++ netdb.h Mon Dec 1 10:57:15 1997
+# @@ -95,6 +95,8 @@
+# extern struct protoent *getprotobyname _AP((char *));
+# extern struct protoent *getprotobynumber _AP((int));
+# extern struct protoent *getprotoent _AP((void));
+# +int sethostent _AP((int));
+# +int endhostent _AP((void));
+#
+# /*
+# * Error return codes from gethostbyname() and gethostbyaddr()
+
debug = 1
shared_libs =
@@ -60,8 +74,8 @@ static_libs = 1
CC = gcc
CXX = g++
-CFLAGS += -mthreads -pipe -Wall -Wpointer-arith #### -Winline
-CCFLAGS += $(CFLAGS) -fno-implicit-templates -fno-strict-prototype
+CFLAGS += -mthreads -pipe -ansi -Wall -Wpointer-arith -Winline
+CCFLAGS += $(CFLAGS) -fno-implicit-templates
DCFLAGS += -g
DLD = $(CXX)
LD = $(CXX)
@@ -71,3 +85,7 @@ AR = ar
ARFLAGS = ruv
RANLIB = @true
PRELIB = @true
+
+To save much disk space, strip all executables. Comment the
+following line out if you want to debug.
+POSTLINK = ; strip $@