Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- Makefile.orig 1998-10-10 06:15:02.000000000 +0200
- +++ Makefile 2017-08-04 08:51:43.000000000 +0200
- @@ -1,19 +1,20 @@
- # Copyright (c) 1994, 1995 James Clark
- # See the file COPYING for copying permission.
- -prefix=/opt/local
- +prefix=/usr/local
- exec_prefix=$(prefix)
- # Where to install the binaries
- bindir=$(exec_prefix)/bin
- -INSTALL=cp
- +#INSTALL=cp
- # You might want to uncomment this on BSD systems
- -#INSTALL=install
- +INSTALL=install
- # If you use gcc, then you must have at least version 2.6.1 and
- # you must use -fno-implicit-templates
- # and -O (or any optimization level >= 1).
- # c++ is a front-end for gcc which takes care of linking with -lstdc++
- -CXX=c++ -fno-implicit-templates -O2
- +CXX=clang++ -fno-implicit-templates -O2
- +#CXX=c++ -O2
- WARN=#-Wall -Wno-reorder -Wwrite-strings -Wpointer-arith -Wnested-externs -Woverloaded-virtual -Wbad-function-cast
- # Executables will be *very* large if you use -g.
- DEBUG=
- @@ -34,12 +35,13 @@
- # which doesn't appropriately define sig_atomic_t).
- # Add -DJADE_MIF to include the Jade MIF backend
- XDEFINES=
- -DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE $(XDEFINES)
- -CXXFLAGS=-ansi $(DEBUG) $(WARN)
- +DEFINES=-DSP_HAVE_BOOL -DSP_ANSI_CLASS_INST -DSP_MULTI_BYTE -DSP_NAMESPACE=James_Clark_SP $(XDEFINES)
- +CXXFLAGS=-ansi -stdlib=libstdc++ $(DEBUG) $(WARN)
- +#CXXFLAGS=-ansi $(DEBUG) $(WARN)
- # Flag to pass to CXX to make it output list of dependencies as a Makefile.
- CXXDEPGENFLAGS=-MM
- LDFLAGS=
- -CC=gcc
- +CC=cc
- CFLAGS=-O $(DEBUG)
- # Missing library functions
- # Uncomment these if your C++ system doesn't provide them.
- @@ -58,7 +60,7 @@
- RANLIB=:
- # Uncomment this for SunOS 4.1.3 or FreeBSD
- # (and probably other BSD flavor systems as well)
- -#RANLIB=ranlib
- +RANLIB=ranlib
- M4=m4
- # perl is needed if you change or add messages
- PERL=perl
Advertisement
Add Comment
Please, Sign In to add comment