projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8722186
)
Some platforms now need contrib/tsm_system_time to be linked with libm.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sat, 25 Jul 2015 20:37:12 +0000
(16:37 -0400)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sat, 25 Jul 2015 20:37:22 +0000
(16:37 -0400)
Buildfarm member hornet, at least, seems to want -lm in the link command.
Probably this is due to the just-added use of isnan().
contrib/tsm_system_time/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/contrib/tsm_system_time/Makefile
b/contrib/tsm_system_time/Makefile
index 168becf54e2ff225a583437d87d590602b6677e4..4c08a9935ab68ea80bd28f8b99059689aae9112d 100644
(file)
--- a/
contrib/tsm_system_time/Makefile
+++ b/
contrib/tsm_system_time/Makefile
@@
-9,6
+9,8
@@
DATA = tsm_system_time--1.0.sql
REGRESS = tsm_system_time
+SHLIB_LINK += $(filter -lm, $(LIBS))
+
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)