Commit e0e2d7ad authored by Marek Vavruša's avatar Marek Vavruša

build: set ARCH from CC, bump version to beta2

parent 57c62bcc
......@@ -7,7 +7,7 @@ install: lib-install modules-install daemon-install
check: all tests
clean: lib-clean modules-clean daemon-clean tests-clean doc-clean
doc: doc-html
.PHONY: all install check clean doc
.PHONY: all install check clean doc info
# Options
ifdef COVERAGE
......
# Project
MAJOR := 1
MINOR := 0
PATCH := 0-beta1
PATCH := 0-beta2
# Paths
PREFIX := /usr/local
......
......@@ -10,7 +10,7 @@ MODTYPE := shared
ARTYPE := static
BINEXT :=
PLATFORM = Linux
ARCH :=
ARCH := $(word 1, $(subst -, ,$(shell $(CC) -dumpmachine)))
ifeq ($(OS),Windows_NT)
PLATFORM := Windows
RM := del
......@@ -18,7 +18,6 @@ ifeq ($(OS),Windows_NT)
LIBEXT := .lib
BINEXT := .exe
else
ARCH := $(shell uname -m)
UNAME := $(shell uname -s)
ifeq ($(UNAME),Darwin)
PLATFORM := Darwin
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment