openmodelica.omcompiler: fix build
This commit is contained in:
parent
cf099def27
commit
87857cb465
@ -44,6 +44,11 @@ mkOpenModelicaDerivation ({
|
||||
$(find ./OMCompiler -name 'Makefile*')
|
||||
'';
|
||||
|
||||
env.CFLAGS = toString [
|
||||
"-Wno-error=dynamic-exception-spec"
|
||||
"-Wno-error=implicit-function-declaration"
|
||||
];
|
||||
|
||||
preFixup = ''
|
||||
for entry in $(find $out -name libipopt.so); do
|
||||
patchelf --shrink-rpath --allowed-rpath-prefixes "$NIX_STORE" "$entry"
|
||||
|
Loading…
Reference in New Issue
Block a user