diff options
Diffstat (limited to 'libloragw/Makefile')
-rw-r--r-- | libloragw/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libloragw/Makefile b/libloragw/Makefile index 7e95eca..16ba23c 100644 --- a/libloragw/Makefile +++ b/libloragw/Makefile @@ -9,8 +9,9 @@ ARCH ?= CROSS_COMPILE ?= CC := $(CROSS_COMPILE)gcc AR := $(CROSS_COMPILE)ar +HOSTNAME=$(shell hostname) -CFLAGS := -O2 -Wall -Wextra -std=c99 -Iinc -I. -isystem =/usr/include/gps -DLIBLORAGW_VERSION=\"$(LIBLORAGW_VERSION)\" +CFLAGS := -O2 -Wall -Wextra -std=c99 -Iinc -I. -isystem =/usr/include/gps -HOSTNAME=\"$(HOSTNAME)\ -DLIBLORAGW_VERSION=\"$(LIBLORAGW_VERSION)\" OBJDIR = obj INCLUDES = $(wildcard inc/*.h) |