mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
fix: LD_VERSION broken by ld --version output on suse 11.4
This commit is contained in:
parent
ad41cd0557
commit
da9522c4d5
1 changed files with 1 additions and 1 deletions
|
|
@ -171,7 +171,7 @@ GCC_MAJOR = $(shell gcc -v 2>&1 | grep version | awk '{ split($$3,
|
|||
GCC_MINOR = $(shell gcc -v 2>&1 | grep version | awk '{ split($$3,a,"."); print a[2];}')
|
||||
GCC_REV = $(shell gcc -v 2>&1 | grep version | awk '{ split($$3,a,"."); print a[3];}')
|
||||
|
||||
LD_VERSION = $(shell ld --version | sed '/GNU ld/ !d; s/.*[^ ]\+\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*/\1/')
|
||||
LD_VERSION = $(shell ld -V | sed '/GNU ld/ !d; s/(.*)//; s/[^0-9.-]*//')
|
||||
LD_MAJOR = $(shell echo $(LD_VERSION) | cut -d. -f1)
|
||||
LD_MINOR = $(shell echo $(LD_VERSION) | cut -d. -f2)
|
||||
LD_REV = $(shell echo $(LD_VERSION) | cut -d. -f3)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue