mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
Minor touch ups to the tools version check to get it working on Linux.
svn path=/trunk/; revision=13949
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
(BINUTILS_VERSION_DATE < 20031001)
|
||||
#error Due to technical reasons your binutils version can't be used to \
|
||||
build ReactOS. Please consider upgrading to newer version. See \
|
||||
www.mingw.org for details.)
|
||||
www.mingw.org for details.
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -23,7 +23,7 @@
|
||||
(__GNUC__ < 3)
|
||||
#error Due to technical reasons your GCC version can't be used to \
|
||||
build ReactOS. Please consider upgrading to newer version. See \
|
||||
www.mingw.org for details.)
|
||||
www.mingw.org for details.
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
||||
@@ -12,7 +12,12 @@ include $(PATH_TO_TOP)/rules.mak
|
||||
BINUTILS_VERSION_DATE=$(word 5,$(shell $(PREFIX)ld -v))
|
||||
|
||||
all:
|
||||
ifeq ($(HOST),mingw32-linux)
|
||||
@echo "#define BINUTILS_VERSION_DATE $(BINUTILS_VERSION_DATE)" > tools-check.h
|
||||
endif
|
||||
ifeq ($(HOST),mingw32-windows)
|
||||
@echo #define BINUTILS_VERSION_DATE $(BINUTILS_VERSION_DATE) > tools-check.h
|
||||
endif
|
||||
$(HOST_CC) -c tools-check.c -o tools-check.temp
|
||||
$(RM) tools-check.temp
|
||||
$(RM) tools-check.h
|
||||
|
||||
Reference in New Issue
Block a user