1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-27 00:57:50 +00:00

- Fix typo in patch-Makefile.linux (USE_OPTIMIZE -> USE_OPTIMIZED_CFLAGS).

Approved by:	garga (mentor, implicitly)
This commit is contained in:
Alejandro Pulver 2006-05-27 16:37:17 +00:00
parent e500c6bc8d
commit 714fdfdb40
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163626

View File

@ -15,7 +15,7 @@
+#_E := @
+LOCALBASE ?= /usr/local
+X11BASE ?= /usr/X11R6
+USE_OPTIMIZE ?= YES
+USE_OPTIMIZED_CFLAGS ?= YES
-default_target: glx
+ifeq ($(ARCH),i386)
@ -42,7 +42,7 @@
- -I/usr/include
+CFLAGS += -DNDEBUG -DDATADIR='"$(Q1DIR)"'
+
+ifeq ($(strip $(USE_OPTIMIZE)),YES)
+ifeq ($(strip $(USE_OPTIMIZED_CFLAGS)),YES)
+CFLAGS += -O1 -funsigned-char -funroll-loops -fomit-frame-pointer \
+ -ffast-math -fno-strength-reduce -fexpensive-optimizations
+endif