mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Change llvm-copy-to-zip path to use real one, instead of link
This commit is contained in:
+1
-1
@@ -271,7 +271,7 @@ odin
|
|||||||
odin.dSYM
|
odin.dSYM
|
||||||
*.bin
|
*.bin
|
||||||
demo.bin
|
demo.bin
|
||||||
libLLVM*.so
|
libLLVM*.so*
|
||||||
|
|
||||||
# shared collection
|
# shared collection
|
||||||
shared/
|
shared/
|
||||||
|
|||||||
+5
-1
@@ -100,7 +100,11 @@ config_linux() {
|
|||||||
LDFLAGS="$LDFLAGS -ldl"
|
LDFLAGS="$LDFLAGS -ldl"
|
||||||
CXXFLAGS="$CXXFLAGS $($LLVM_CONFIG --cxxflags --ldflags)"
|
CXXFLAGS="$CXXFLAGS $($LLVM_CONFIG --cxxflags --ldflags)"
|
||||||
LDFLAGS="$LDFLAGS $($LLVM_CONFIG --libs core native --system-libs --libfiles) -Wl,-rpath=\$ORIGIN"
|
LDFLAGS="$LDFLAGS $($LLVM_CONFIG --libs core native --system-libs --libfiles) -Wl,-rpath=\$ORIGIN"
|
||||||
cp $($LLVM_CONFIG --libfiles) ./
|
|
||||||
|
# Creates a copy of the llvm library in the build dir, this is meant to support compiler explorer.
|
||||||
|
# The annoyance is that this copy can be cluttering the development folder. TODO: split staging folders
|
||||||
|
# for development and compiler explorer builds
|
||||||
|
cp $(readlink -f $($LLVM_CONFIG --libfiles)) ./
|
||||||
}
|
}
|
||||||
|
|
||||||
build_odin() {
|
build_odin() {
|
||||||
|
|||||||
Reference in New Issue
Block a user