archimedes: Work around compatibility issue with clang
This commit is contained in:
parent
f57cb63fbb
commit
df1ccf5750
|
@ -14,4 +14,13 @@ GNU_CONFIGURE= yes
|
||||||
USE_LANGUAGES= c c++
|
USE_LANGUAGES= c c++
|
||||||
USE_FEATURES+= getopt_long
|
USE_FEATURES+= getopt_long
|
||||||
|
|
||||||
|
.include "../../mk/compiler.mk"
|
||||||
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
||||||
|
SUBST_CLASSES+= inline
|
||||||
|
SUBST_STAGE.inline= pre-configure
|
||||||
|
SUBST_FILES.inline= src/particlecreation.h
|
||||||
|
SUBST_MESSAGE.inline= Removing inline due to compiler compatibility issues
|
||||||
|
SUBST_SED.inline= -e s,inline,,
|
||||||
|
.endif
|
||||||
|
|
||||||
.include "../../mk/bsd.pkg.mk"
|
.include "../../mk/bsd.pkg.mk"
|
||||||
|
|
Loading…
Reference in New Issue