diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-02 18:41:30 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-12-02 18:41:30 +0000 |
commit | f7e635687c6c9eb1bdf6c8a4c175e8e9a756de20 (patch) | |
tree | 186a435165d07a6be4e8e2f1544ce37fdd39484d /include | |
parent | 993d2d7417eb08804c5d87c0490a1a7aec282e59 (diff) | |
download | ATCD-f7e635687c6c9eb1bdf6c8a4c175e8e9a756de20.tar.gz |
added -Winline and removed -fno-strict-prototypes
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_lynxos.GNU | 22 |
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 $@ |