Make Ubuntu build again

This commit is contained in:
Palmer Dabbelt 2017-06-08 13:39:29 -07:00
parent 071c0f14a8
commit 0d86772994
1 changed files with 4 additions and 0 deletions

View File

@ -11,10 +11,14 @@ REDHAT ?= x86_64-linux-centos6
WIN32 ?= i686-w64-mingw32 WIN32 ?= i686-w64-mingw32
WIN64 ?= x86_64-w64-mingw32 WIN64 ?= x86_64-w64-mingw32
-include /etc/lsb-release
ifneq ($(wildcard /etc/redhat-release),) ifneq ($(wildcard /etc/redhat-release),)
NATIVE ?= $(REDHAT) NATIVE ?= $(REDHAT)
AUTORECONF ?= autoreconf268 AUTORECONF ?= autoreconf268
all: redhat all: redhat
else ifeq ($(DISTRIB_ID),Ubuntu)
NATIVE ?= $(REDHAT)
all: ubuntu
else else
$(error Unknown host) $(error Unknown host)
endif endif