File: print-ld.sh

package info (click to toggle)
runit 2.1.2-9.2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,660 kB
  • ctags: 1,087
  • sloc: ansic: 5,701; sh: 664; makefile: 361
file content (6 lines) | stat: -rw-r--r-- 150 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
ld="`head -n1 conf-ld`"
systype="`cat systype`"

cat warn-auto.sh
echo 'main="$1"; shift'
echo exec "$ld" "$LDFLAGS" '-o "$main" "$main".o ${1+"$@"}'