mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Reverting previous changes. Added LIBM variable, so -lm can be used explicitly
This commit is contained in:
parent
b904fd6967
commit
7965fc1383
@ -78,11 +78,7 @@ if $(SUN_COMPILER) {
|
||||
# global flags used to be passed to every target
|
||||
GLOBALFLAGS ?= $(WALL) $(PEDANTIC) -DHAVE_CONFIG_H -I$(TOP) $(OPTIMFLAGS) $(DEBUGFLAGS) $(LARGEFILEFLAGS) ;
|
||||
STDLIB ?= -lstdc++ ;
|
||||
|
||||
# NetBSD requires explicit -lm for libstdc++
|
||||
if $(OS) = "NETBSD" {
|
||||
if $(STDLIB) = "-lstdc++" { $(STDLIB) += "-lm" ; }
|
||||
}
|
||||
LIBM ?= -lm ;
|
||||
|
||||
# Note that REMOVE_UNUSED_DEPENDENCIES_TRICK _does not_ works when
|
||||
# edelib is compiled as shared library (or when is linked with some shared library)
|
||||
|
Loading…
Reference in New Issue
Block a user