firtst release
Revision | 99aece79ce2ce0b23f6d7390825025418c4f3dd9 (tree) |
---|---|
Time | 2020-02-13 20:01:47 |
Author | LittleWuCoding <31984989+LittleWuCoding@user...> |
Commiter | Kyotaro Horiguchi |
Fix compiling error on Solaris
The 'LDFLAGS+=-Wl,--build-id' option is for rpm building in Linux like
OS. The SunOS is not native support the option
'LDFLAGS+=-Wl,--build-id' . So, we disable this option in SunOS while
compiling.
Committed a bit tweaked version from the orignal.
@@ -32,7 +32,9 @@ TARSOURCES = Makefile *.c *.h COPYRIGHT* \ | ||
32 | 32 | doc/* expected/*.out sql/*.sql sql/maskout.sh \ |
33 | 33 | data/data.csv input/*.source output/*.source SPECS/*.spec |
34 | 34 | |
35 | +ifneq ($(shell uname), SunOS) | |
35 | 36 | LDFLAGS+=-Wl,--build-id |
37 | +endif | |
36 | 38 | |
37 | 39 | installcheck: $(REGRESSION_EXPECTED) |
38 | 40 |