Skip to content

Commit f126bc0

Browse files
committed
[gdb-git] remove -lbfd hack
Not sure why it was added originally but it is messing up the linker argument orders generated by libtools The bfd that should be used is the one bundled in the repo the flag causes a wrong linking dependency of libsframe on libbfd which is reversed and the linking failed
1 parent 86ac0d3 commit f126bc0

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

alarmcn/gdb-git/PKGBUILD

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ build() {
3737
mkdir -p build
3838
cd build
3939

40-
# This is a hack but I don't know why it's missing from the linking...
41-
LDFLAGS+=' -lbfd'
42-
export LDFLAGS
43-
4440
../configure \
4541
--prefix=/usr \
4642
--disable-nls \

archlinuxcn/gdb-git/PKGBUILD

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ build() {
3737
mkdir -p build
3838
cd build
3939

40-
# This is a hack but I don't know why it's missing from the linking...
41-
LDFLAGS+=' -lbfd'
42-
export LDFLAGS
43-
4440
../configure \
4541
--prefix=/usr \
4642
--disable-nls \

0 commit comments

Comments
 (0)