Commit 8e6b272f authored by rdubner's avatar rdubner
Browse files

Tweak cobcd to work on the Raspberry Pi

parent 7ae046cf
......@@ -417,13 +417,11 @@ if test X$result = X"0" ; then
if test X$result = X"0" ; then
# Assemble the modified .s file into a replacement .o file:
COB_CFLAGS="-fPIC -Wa,-L,-anchls=$BASENAME-2.lst $cob_cflags"
if test X$platform = Xx86_64 ; then
if test X$ECHO != X"" ; then
if test X$ECHO != X"" ; then
echo COB_CFLAGS=$COB_CFLAGS $COBC -c -o $BASENAME-2.o $BASENAME-2.s
fi
COB_CFLAGS=$COB_CFLAGS $COBC -c -o $BASENAME-2.o $BASENAME-2.s
result=$?
fi
COB_CFLAGS=$COB_CFLAGS $COBC -c -o $BASENAME-2.o $BASENAME-2.s
result=$?
fi
## In this step, we combine the two .o files to create the executable
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment