mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
- introduce WM_COMPILE_CONTROL variable to convey control information
into the build rules.
The convention (as per spack):
- '+' to select a feature
- '~' to deselect a feature
Eg, to select the gold linker, and disable openmp
(spaces are not required):
WM_COMPILE_CONTROL="+gold ~openmp"
CONFIG: accept FOAM_EXTRA_LDFLAGS for AMD, gold, Mingw linkers
CONFIG: generalize PROJECT_LIBS (-ldl used almost universally)
11 lines
234 B
Plaintext
11 lines
234 B
Plaintext
LINK_LIBS = $(c++DBUG)
|
|
|
|
LINKLIBSO = $(CC) $(c++FLAGS) -shared \
|
|
-fuse-ld=gold \
|
|
$(FOAM_EXTRA_LDFLAGS)
|
|
|
|
LINKEXE = $(CC) $(c++FLAGS) \
|
|
-fuse-ld=gold \
|
|
-L$(FOAM_LIBBIN)/dummy -lPstream \
|
|
$(FOAM_EXTRA_LDFLAGS)
|