1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00
freebsd-ports/math/foma/files/patch-Makefile
2014-05-16 10:44:03 +00:00

21 lines
820 B
Plaintext

--- Makefile.orig 2012-11-17 16:21:50.000000000 +0400
+++ Makefile 2014-05-16 14:41:24.000000000 +0400
@@ -5,7 +5,7 @@
includedir = $(prefix)/include
VERSION = 0.9.17
-CC = gcc
+CC ?= gcc
RANLIB = ranlib
YACC = bison -d -t -v
LEX = flex -8
@@ -15,7 +15,7 @@
RM = /bin/rm -f
LDFLAGS = -lreadline -lz -ltermcap
FLOOKUPLDFLAGS = libfoma.a -lz
-CFLAGS = -O3 -Wall -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC
+CFLAGS += -Wall -D_GNU_SOURCE -std=c99 -fvisibility=hidden -fPIC
FOMAOBJS = foma.o stack.o iface.o lex.interface.o
LIBOBJS = int_stack.o define.o determinize.o apply.o rewrite.o lexcread.o topsort.o flags.o minimize.o reverse.o extract.o sigma.o io.o structures.o constructions.o coaccessible.o utf8.o spelling.o dynarray.o mem.o stringhash.o trie.o lex.lexc.o lex.yy.o lex.cmatrix.o regex.tab.o