-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6a317dd
commit 8b4ccbe
Showing
1 changed file
with
4 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
diff --git PKGBUILD PKGBUILD | ||
index 9e63fc63d..0623f5d6a 100644 | ||
--- PKGBUILD | ||
+++ PKGBUILD | ||
@@ -44,7 +44,7 @@ prepare() { | ||
git submodule update | ||
@@ -42,7 +42,7 @@ prepare() { | ||
|
||
# Only LDC have -O5 | ||
- sed -i "/-O5/ a -flto=full -linker=gold -link-defaultlib-shared=false -L=\"$LDFLAGS\"\\\\" makefile | ||
+ sed -i "/-O5/ a -link-defaultlib-shared=false -L=\"$LDFLAGS\"\\\\" makefile | ||
export _ldFlags="$(echo -ne $LDFLAGS | sed -e 's/-Wl,/-L=/g' -e 's/=auto/=full')" | ||
- sed -i "/-O5/ a -linker=gold -link-defaultlib-shared=false $ldFlags\\\\" makefile | ||
+ sed -i "/-O5/ a -link-defaultlib-shared=false $ldFlags\\\\" makefile | ||
} | ||
|
||
build() { |