HwangKC 2024-06-05 20:51:58 +08:00
parent b23b1590fd
commit 92e2c228ce
1 changed files with 2 additions and 2 deletions

View File

@ -14,10 +14,10 @@ TARGET := datahubs.arm
#编译参数
CC := arm-g++
CXX := arm-g++
LIBS := -L/usr/local/arm/lib -lhv -lmysqlcppconn -lpthread -liconv -ldl -lz
LIBS := -L/usr/local/mysql/lib/mysql -lmysqlclient_r -L/usr/local/arm/lib -lhv -lmysqlcppconn -lpthread -liconv -ldl -lz
LDFLAGS :=
DEFINES :=
INCLUDE := -I. -I/usr/local/arm/include
INCLUDE := -I. -I/usr/local/arm/include -I/usr/local/arm/include/mysql
CFLAGS := -Wall -O3 $(DEFINES) $(INCLUDE) -std=c++11
CXXFLAGS:= $(CFLAGS)