slackware-current/source/n/nc/nc.diff
Patrick J Volkerding 5a12e7c134 Slackware 13.0
Wed Aug 26 10:00:38 CDT 2009
Slackware 13.0 x86_64 is released as stable!  Thanks to everyone who
helped make this release possible -- see the RELEASE_NOTES for the
credits.  The ISOs are off to the replicator.  This time it will be a
6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD.
We're taking pre-orders now at store.slackware.com.  Please consider
picking up a copy to help support the project.  Once again, thanks to
the entire Slackware community for all the help testing and fixing
things and offering suggestions during this development cycle.
As always, have fun and enjoy!  -P.
2018-05-31 22:41:17 +02:00

24 lines
1 KiB
Diff

--- ./Makefile.orig 2002-05-28 14:17:29.000000000 -0700
+++ ./Makefile 2002-05-28 14:28:57.000000000 -0700
@@ -9,7 +9,7 @@
# pick gcc if you'd rather , and/or do -g instead of -O if debugging
# debugging
# DFLAGS = -DTEST -DDEBUG
-CFLAGS = -O
+CFLAGS = -O -march=i386 -mcpu=i686
XFLAGS = # xtra cflags, set by systype targets
XLIBS = # xtra libs if necessary?
# -Bstatic for sunos, -static for gcc, etc. You want this, trust me.
@@ -66,8 +66,11 @@
aix:
make -e $(ALL) $(MFLAGS) XFLAGS='-DAIX'
+# The "GAPING_SECURITY_HOLE" is really not that gaping. Anything can be used in
+# a stupid way, IMHO. Besides, netpipes allows these same things and doesn't even
+# warn they might be insecure... just know what you're doing, and you'll be fine.
linux:
- make -e $(ALL) $(MFLAGS) XFLAGS='-DLINUX' STATIC=-static
+ make -e $(ALL) $(MFLAGS) XFLAGS='-DLINUX -DTELNET -DGAPING_SECURITY_HOLE'
# irix 5.2, dunno 'bout earlier versions. If STATIC='-non_shared' doesn't
# work for you, null it out and yell at SGI for their STUPID default