ams-mXXj517/ (Alfred M. Szmidt)
2014-06-17 11:45:17 UTC
Looking over the `make' section, it says that CFLAGS should be "-O",
but c99 accepts only "-O optlevel" (i.e. optlevel is not optional).
This leads to what I would think strange behaviour for example,
.POSIX:
foo: foo.o
$(CC) $(CFLAGS) $^ -o $@
results in the command,
c99 -O foo.o -o foo
which would be an invald invokation of c99.
There are two possible that I see, change CFLAGS in `make' to be "-O
1" (following FFLAGS), or change c99's -O behaviour to allow for an
optional optlevel (most C compilers already allow for this).
Best regards, Alfred.
but c99 accepts only "-O optlevel" (i.e. optlevel is not optional).
This leads to what I would think strange behaviour for example,
.POSIX:
foo: foo.o
$(CC) $(CFLAGS) $^ -o $@
results in the command,
c99 -O foo.o -o foo
which would be an invald invokation of c99.
There are two possible that I see, change CFLAGS in `make' to be "-O
1" (following FFLAGS), or change c99's -O behaviour to allow for an
optional optlevel (most C compilers already allow for this).
Best regards, Alfred.