Skip to content
Snippets Groups Projects
Commit 256692a6 authored by rtoy's avatar rtoy
Browse files

Add -mmacosx-version-min so the resulting lisp can run on older

versions of Darwin.
parent 1cc198f3
No related branches found
No related tags found
No related merge requests found
# -*- Mode: makefile -*-
PATH1 = ../../src/lisp PATH1 = ../../src/lisp
vpath %.h $(PATH1) vpath %.h $(PATH1)
vpath %.c $(PATH1) vpath %.c $(PATH1)
vpath %.S $(PATH1) vpath %.S $(PATH1)
CPPFLAGS = -I. -I$(PATH1) CPPFLAGS = -I. -I$(PATH1)
# For Mac OS X 10.2, gcc3 is appropriate. For 10.4, gcc (gcc 4.0) is ok. But # For Mac OS X 10.2, gcc3 is appropriate. For 10.4, gcc (gcc 4.0) is ok. But
# this means -traditional is needed because gcc 4 seems to handle '##' # this means -traditional is needed because gcc 4 seems to handle '##'
# differently from gcc-3.3. I (rtoy) don't know which is right, but I # differently from gcc-3.3. I (rtoy) don't know which is right, but I
# think gcc 4 is wrong. However, to work around this, we use /**/ to # think gcc 4 is wrong. However, to work around this, we use /**/ to
# concatenate tokens which reguires the -traditional flag. # concatenate tokens which reguires the -traditional flag.
CC = gcc
# Build for OSX 10.2.8 or later. (Is this what we want?)
CC = gcc -mmacosx-version-min=10.2.8
LD = ld LD = ld
NM = $(PATH1)/darwin-nm NM = $(PATH1)/darwin-nm
CPP = cpp -no-cpp-precomp CPP = cpp -no-cpp-precomp
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment