File: make.linux.x86.gnu.opt-gccold

package info (click to toggle)
zimpl 3.2.0%2Bdfsg-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,808 kB
  • sloc: ansic: 20,268; yacc: 941; lex: 341; makefile: 190; sh: 159
file content (17 lines) | stat: -rw-r--r-- 458 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#--- $Id: make.linux.x86.gnu.opt-gccold,v 1.2 2011/10/31 08:48:56 bzfkocht Exp $
CPPFLAGS	+=	-DNDEBUG -DNO_MSHELL -D__NO_MATH_INLINES 
CFLAGS		=	-O3 -m32
LDFLAGS		=	-lgmp -lz -lm

ifeq ($(LINK),shared)
LIBRARY		=	$(LIBDIR)/lib$(LIBNAME).so
LIBLINK		=	$(LIBDIR)/lib$(NAME).$(BASE).so
CFLAGS		+=	-fPIC
AR		=	gcc -m32 -shared -o # the trailing space is important
ARFLAGS		=       $(LDFLAGS)
RANLIB		=	true
endif

ifeq ($(LINK),static)
LDFLAGS		+=	-static
endif