mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Use '-O0' on the Alpha so this builds without internal compiler errors.
This commit is contained in:
parent
2fad275c89
commit
81dbac7e07
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39540
@ -22,21 +22,27 @@ AM_CFLAGS = -I$(AMULET_DIR)/include $(X11_INC) -Wall \
|
||||
AM_LIBS = $(X11_LIB) -lX11 -lm
|
||||
|
||||
|
||||
.if $(MACHINE_ARCH) == "alpha"
|
||||
OPT_CFLAGS = -O0
|
||||
.else
|
||||
OPT_CFLAGS = -O2
|
||||
.endif
|
||||
|
||||
##
|
||||
## Parameters for the Amulet library
|
||||
##
|
||||
|
||||
# additional compiler flags for development version
|
||||
AM_DEVELOP = -O2 -DDEBUG -g -DAMULET2_CONVERSION
|
||||
AM_DEVELOP = $(OPT_CFLAGS) -DDEBUG -g -DAMULET2_CONVERSION
|
||||
|
||||
# additional compiler flags for release version
|
||||
AM_RELEASE = -O2 -DAMULET2_CONVERSION
|
||||
AM_RELEASE = $(OPT_CFLAGS) -DAMULET2_CONVERSION
|
||||
|
||||
# additional compiler flags for optimized version with inspector and debugging enabled
|
||||
AM_INHOUSE = -DDEBUG -g
|
||||
|
||||
# additional compiler flags for optimized version with inspector but no debugging symbols
|
||||
AM_NODEBUGSYM = -O2 -DDEBUG -DAMULET2_CONVERSION
|
||||
AM_NODEBUGSYM = $(OPT_FLAGS) -DDEBUG -DAMULET2_CONVERSION
|
||||
|
||||
# Flags used to build the sample programs
|
||||
AM_SAMPLE_FLAGS = $(AM_NODEBUGSYM)
|
||||
|
Loading…
Reference in New Issue
Block a user