mirror of
https://git.freebsd.org/ports.git
synced 2025-05-04 23:47:37 -04:00
- fix build when CFLAGS is set in /etc/make.conf - support build on amd64 when lib32 is present
31 lines
568 B
Text
31 lines
568 B
Text
--- Makefile.FreeBSD.orig 2006-03-17 21:17:36.000000000 +0100
|
|
+++ Makefile.FreeBSD 2014-08-03 18:48:01.000000000 +0200
|
|
@@ -2,14 +2,14 @@
|
|
#
|
|
# Copyright (c) 2006 Ken Kato
|
|
|
|
-AS = as
|
|
-ASFLAGS =
|
|
+AS ?= as
|
|
+ASFLAGS ?=
|
|
|
|
-CC = gcc
|
|
-CFLAGS = -O2
|
|
+CC ?= gcc
|
|
+CFLAGS ?= -O2
|
|
|
|
-LD = gcc
|
|
-LDFLAGS =
|
|
+LD ?= ${CC}
|
|
+LDFLAGS ?=
|
|
|
|
# replace the following line if you prefer inline version
|
|
# of vmcall functions (vmcall.c) -- works only with gcc
|
|
@@ -20,6 +20,6 @@
|
|
|
|
VMWLIB =
|
|
SHRLIB =
|
|
-FTPLIB = -L/usr/local/lib -liconv
|
|
+FTPLIB ?= -L/usr/local/lib -liconv
|
|
|
|
include Makefile.inc
|