summaryrefslogtreecommitdiff
path: root/databases/postgresql-plv8js/files/patch-Makefile
blob: 82ab29760cfa479c1fda0d9218d8497eea546a82 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- Makefile.orig	2013-09-07 11:00:59.000000000 +0800
+++ Makefile	2013-09-07 11:01:29.000000000 +0800
@@ -21,7 +21,7 @@ PG_VERSION_NUM := $(shell cat `$(PG_CONF
 		   | perl -ne 'print $$1 and exit if /PG_VERSION_NUM\s+(\d+)/')
 
 # set your custom C++ compler
-CUSTOM_CC = g++
+CUSTOM_CC := $(CXX)
 JSS  = coffee-script.js livescript.js
 # .cc created from .js
 JSCS = $(JSS:.js=.cc)