]> git.vomp.tv Git - vompclient.git/commitdiff
Makefile updates for MVP
authorChris Tallon <chris@vomp.tv>
Fri, 25 Oct 2019 16:20:48 +0000 (17:20 +0100)
committerChris Tallon <chris@vomp.tv>
Fri, 25 Oct 2019 16:20:48 +0000 (17:20 +0100)
GNUmakefile

index 82fd3e0fb60282678f560006d3a5bee762c117c4..40b17281001bbf434fd133c7c684196fd614d519 100644 (file)
@@ -3,7 +3,7 @@ vomp_platform=$(shell ./select-platform)
 #vomp_platform=crossraspberry
 $(info selected $(vomp_platform))
 
-vomp_options=-DIPV6
+vomp_options=
 # uncomment the line below if you want to build vomp application without a reboot option, automatically set for windows!
 #vomp_options+= -DVOMP_HAS_EXIT
 
@@ -24,6 +24,7 @@ CC=gcc
 STRIP=strip
 CXX=g++
 LD=g++
+vomp_options += -DIPV6
 endif
 
 ifeq ($(vomp_platform),crossraspberry)
@@ -36,7 +37,7 @@ endif
 
 
 CXXFLAGS_DEV = -g -O0 -Wall -Wshadow -Wno-psabi -DDEV -D_GNU_SOURCE $(INCLUDES) $(vomp_options)
-CXXFLAGS_REL = -O3 -Wall -Wshadow -Wno-psabi -D_GNU_SOURCE $(INCLUDES) $(vomp_options)
+CXXFLAGS_REL = -O3 -Wall -Wshadow -D_GNU_SOURCE $(INCLUDES) $(vomp_options)
 LIBPATHS =