Skip to content

Commit

Permalink
small Makefile and autoconf fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kfl committed Sep 13, 2013
1 parent 3a67e2f commit a889156
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ BASELIBS=-lm
# This works with most systems, including MacOS X with XCode installed:

CC=gcc
# CC=gcc -mmacosx-version-min=10.7 # for building OS X package
# CC=/usr/sepp/bin/gcc # Solaris at KVL

# To compile the runtime system camlrunm with support for
Expand Down Expand Up @@ -70,7 +71,7 @@ endif
ifeq ($(UNAME_S),Darwin) # For MacOS X, use the same as Linux except DYNDL
CPP=cpp -P -traditional -Dunix -Umsdos
STRIP=strip -S
LD=gcc -rdynamic -Wl,-rpath,$(LIBDIR)
LD=$(CC) -rdynamic -Wl,-rpath,$(LIBDIR)
DYNLD=$(LD) -bundle -undefined dynamic_lookup
endif
ifeq ($(UNAME_S),Cross_W32)
Expand Down Expand Up @@ -177,7 +178,7 @@ endif
SHELL=/bin/sh

# ---------- You shouldn't need to edit below this line ------------
ROOTDIR:=$(CURDIR)/..
ROOTDIR:=..

CAMLRT=$(ROOTDIR)/runtime

Expand Down
2 changes: 1 addition & 1 deletion src/config/autoconf
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

case $1 in
"") cc=cc;;
*) cc=$1;;
*) cc="$@";;
esac
export cc

Expand Down

0 comments on commit a889156

Please sign in to comment.