Commit 0664157f authored by Job Vranish's avatar Job Vranish
Browse files

Merge branch 'develop' of github.com:Seagate/kinetic-c into develop

parents 013d1949 451b755c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -10,8 +10,9 @@ PUB_INC = ./include
#===============================================================================
CC ?= gcc
OPTIMIZE = -O3
SYSTEM_TEST_HOST ?= \"localhost\"
WARN = -Wall -Wextra -Wstrict-prototypes -Wcast-align -pedantic -Wno-missing-field-initializers
CDEFS += -D_POSIX_C_SOURCE=199309L -D_C99_SOURCE=1
CDEFS += -D_POSIX_C_SOURCE=199309L -D_C99_SOURCE=1 -DSYSTEM_TEST_HOST=${SYSTEM_TEST_HOST}
CFLAGS += -std=c99 -fPIC -g $(WARN) $(CDEFS) $(OPTIMIZE)
LDFLAGS += -lm -lcrypto -lssl -lpthread

+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ compiler = ENV.fetch('CC', 'gcc')
compiler_location = `which #{compiler}`.strip
compiler_info = `#{compiler} --version 2>&1`.strip

SYSTEM_TEST_HOST = ENV.fetch('SYSTEM_TEST_HOST', "localhost")

task :report_toolchain do
  report_banner("Toolchain Configuration")
+1 −0
Original line number Diff line number Diff line
@@ -35,6 +35,7 @@
:defines:
  :commmon: &common_defines
    - TEST
    - SYSTEM_TEST_HOST=\"<%= ENV.fetch('SYSTEM_TEST_HOST', 'localhost') %>\"
  :test:
    - *common_defines
  :test_preprocess: