mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-27 10:03:08 +02:00
Merge pull request #1323 from Pmodules/1322-build-system-set-cc-and-cxx-if-not-defined
1322 build system set cc and cxx if not defined
This commit is contained in:
@@ -1,5 +1,16 @@
|
||||
# Changelog of Pmodules
|
||||
|
||||
## Version 2.0.3
|
||||
|
||||
### modulecmd
|
||||
|
||||
### build system
|
||||
* set CC and CXX if not defined. This was a bug introduced in 2.0.2
|
||||
|
||||
### building Pmodules
|
||||
* path to Lua installation fixed in recipe to build luarocks
|
||||
(#1320)
|
||||
|
||||
## Version 2.0.2
|
||||
|
||||
Migragtion to GitHub:
|
||||
|
||||
@@ -648,8 +648,8 @@ pbuild::compile() {
|
||||
unset V
|
||||
fi
|
||||
(( JOBS == 0 )) && JOBS=$(_get_num_cores)
|
||||
std::info "CC=$CC"
|
||||
std::info "CXX=$CXX"
|
||||
[[ -v CC ]] || CC=cc
|
||||
[[ -v CXX ]] || CXX=c++
|
||||
/bin/bash -c "CC=$CC CXX=$CXX ${make} -j${JOBS} -e" || \
|
||||
std::die 3 \
|
||||
"%s " "${module_name}/${module_version}:" \
|
||||
|
||||
Reference in New Issue
Block a user