--- a/src/sys/make-compile +++ b/src/sys/make-compile @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cc="`head -n 1 conf-cc`" cat warn-auto.sh --- a/src/sys/make-compilefordynlib +++ b/src/sys/make-compilefordynlib @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cc="`head -n 1 conf-cc`" cat warn-auto.sh --- a/src/sys/make-load +++ b/src/sys/make-load @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/bash -e ld="`head -n 1 conf-ld`" strip="`head -n 1 conf-stripbins`" --- a/src/sys/make-makelib +++ b/src/sys/make-makelib @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash cat warn-auto.sh echo 'main="$1"; shift' --- a/src/sysdeps/Makefile +++ b/src/sysdeps/Makefile @@ -218,7 +218,7 @@ hasclockmon.h: choose compile load hasclockmon.h1 hasclockmon.h2 rt.lib exec ./choose cl tryclockmon hasclockmon.h1 hasclockmon.h2 `cat rt.lib` > hasclockmon.h hasclockrt.h: compile load tryclockrt.c hasclockrt.h1 hasclockrt.h2 - exec ./compile tryclockrt.c + ./compile tryclockrt.c; : if ./load tryclockrt 2>/dev/null ; then cat hasclockrt.h2 > hasclockrt.h ; : > rt.lib ; \ elif ./load tryclockrt -lrt 2>/dev/null ; then cat hasclockrt.h2 > hasclockrt.h ; echo -lrt > rt.lib ; \ else cat hasclockrt.h1 > hasclockrt.h ; : > rt.lib ; \