diff options
author | Vincent Sanders <vince@kyllikki.org> | 2018-09-07 14:26:12 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2018-09-07 14:26:12 +0100 |
commit | 22fd851e1438afba1486f3e7a48e47435e0171f7 (patch) | |
tree | 6e197be3f2f5d1a09cdf2bf5d8c508ce4943ba76 | |
parent | c3d3023e4acd8015b3f53c6fb1d55f27417fe8df (diff) | |
download | netsurf-22fd851e1438afba1486f3e7a48e47435e0171f7.tar.gz netsurf-22fd851e1438afba1486f3e7a48e47435e0171f7.tar.bz2 |
Fix compiler version comparison test
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -323,7 +323,7 @@ CC_VERSION := $(shell $(CC) -dumpversion) CC_MAJOR := $(word 1,$(subst ., ,$(CC_VERSION))) CC_MINOR := $(word 2,$(subst ., ,$(CC_VERSION))) define cc_ver_ge -$(shell expr $(CC_MAJOR) \>= $(1) \& $(CC_MINOR) \>= $(2)) +$(shell expr $(CC_MAJOR) \> $(1) \| \( $(CC_MAJOR) = $(1) \& $(CC_MINOR) \>= $(2) \) ) endef # CCACHE |