mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
bin/package: don't test-compile using possibly broken dev shell
This commit is contained in:
parent
7444fc7c24
commit
600cb182e3
2 changed files with 2 additions and 2 deletions
|
@ -2849,7 +2849,7 @@ cat $INITROOT/$i.sh
|
||||||
(
|
(
|
||||||
cd "$TMPDIR" || exit 3
|
cd "$TMPDIR" || exit 3
|
||||||
cp $INITROOT/hello.c pkg$$.c || exit 3
|
cp $INITROOT/hello.c pkg$$.c || exit 3
|
||||||
$cc -o pkg$$.exe pkg$$.c > pkg$$.e 2>&1 || {
|
sh $cc -o pkg$$.exe pkg$$.c > pkg$$.e 2>&1 || {
|
||||||
if $cc -Dnew=old -o pkg$$.exe pkg$$.c > /dev/null 2>&1
|
if $cc -Dnew=old -o pkg$$.exe pkg$$.c > /dev/null 2>&1
|
||||||
then echo "$command: ${warn}$CC: must be a C compiler (not C++)" >&2
|
then echo "$command: ${warn}$CC: must be a C compiler (not C++)" >&2
|
||||||
else cat pkg$$.e
|
else cat pkg$$.e
|
||||||
|
|
|
@ -2848,7 +2848,7 @@ cat $INITROOT/$i.sh
|
||||||
(
|
(
|
||||||
cd "$TMPDIR" || exit 3
|
cd "$TMPDIR" || exit 3
|
||||||
cp $INITROOT/hello.c pkg$$.c || exit 3
|
cp $INITROOT/hello.c pkg$$.c || exit 3
|
||||||
$cc -o pkg$$.exe pkg$$.c > pkg$$.e 2>&1 || {
|
sh $cc -o pkg$$.exe pkg$$.c > pkg$$.e 2>&1 || {
|
||||||
if $cc -Dnew=old -o pkg$$.exe pkg$$.c > /dev/null 2>&1
|
if $cc -Dnew=old -o pkg$$.exe pkg$$.c > /dev/null 2>&1
|
||||||
then echo "$command: ${warn}$CC: must be a C compiler (not C++)" >&2
|
then echo "$command: ${warn}$CC: must be a C compiler (not C++)" >&2
|
||||||
else cat pkg$$.e
|
else cat pkg$$.e
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue