ports/java/sqlitejdbc/files/patch-Makefile.common
Alex Dupre 13789c7d65 Fix build with clang and stagify.
Approved by:	maintainer
2013-10-30 10:03:06 +00:00

11 lines
381 B
Text

--- Makefile.common.orig 2013-10-30 08:27:27.420880093 +0000
+++ Makefile.common 2013-10-30 08:27:45.873878420 +0000
@@ -56,7 +56,7 @@
target := $(os)-$(arch)
# os=Default is meant to be generic unix/linux
-Default_CC := gcc
+Default_CC := $(CC)
Default_STRIP := strip
Default_CFLAGS := -I$(JAVA_HOME)/include -Os -fPIC
Default_LINKFLAGS := -shared