Merge "sm components to use C++11 standard"
This commit is contained in:
commit
677f0fb630
@ -110,7 +110,7 @@ SRCS+=sm_service_domain_interface_not_in_use_state.c
|
||||
SRCS+=sm_configuration_table.c
|
||||
|
||||
OBJS= $(SRCS:.c=.o)
|
||||
CCFLAGS= -g -O2 -Wall -Werror -Wformat
|
||||
CCFLAGS= -g -O2 -Wall -Werror -Wformat -std=c++11
|
||||
EXTRACCFLAGS= -D__STDC_FORMAT_MACROS
|
||||
LDLIBS= -lsqlite3 -lglib-2.0 -luuid -lpthread -lrt -lsm_common -lsm_db -lfmcommon -ljson-c -lcrypto -lssl
|
||||
LDFLAGS = -rdynamic
|
||||
|
@ -29,7 +29,7 @@ OBJS = $(SRCS:.c=.o)
|
||||
CCFLAGS= -fPIC -g -O2 -Wall -Werror
|
||||
EXTRACCFLAGS= -D__STDC_FORMAT_MACROS -DSW_VERSION=\"$(SW_VERSION)\"
|
||||
|
||||
LDLIBS= -lsqlite3 -lglib-2.0 -lgmodule-2.0 -luuid -lrt -lpthread
|
||||
LDLIBS= -lsqlite3 -lglib-2.0 -lgmodule-2.0 -luuid -lrt -lpthread -std=c++11
|
||||
LDFLAGS = -shared -rdynamic
|
||||
|
||||
build: libsm_common.so libsm_watchdog_nfs.so sm_watchdog sm_eru sm_eru_dump
|
||||
|
@ -28,7 +28,7 @@ SRCS+=sm_db_build.c
|
||||
SRCS+=sm_db_configuration.c
|
||||
|
||||
OBJS = $(SRCS:.c=.o)
|
||||
CCFLAGS= -fPIC -g -O2 -Wall -Werror
|
||||
CCFLAGS= -fPIC -g -O2 -Wall -Werror -std=c++11
|
||||
EXTRACCFLAGS= -D__STDC_FORMAT_MACROS
|
||||
LDLIBS= -lsqlite3 -lglib-2.0 -luuid -lrt -lsm_common
|
||||
LDFLAGS = -shared -rdynamic
|
||||
|
Loading…
Reference in New Issue
Block a user