Skip to content

Commit

Permalink
Updating linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
rageworx committed Aug 9, 2018
1 parent f4ccc51 commit 12e3fb5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile.linux
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ SRCS = $(SRC_PATH)/frawscale.cpp
SRCS += $(SRC_PATH)/libsrcnn.cpp
OBJS = $(SRCS:$(SRC_PATH)/%.cpp=$(OBJ_PATH)/%.o)

CFLAGS = -mtune=native -fopenmp -ffast-math
# -fPIC option usally used for nVidia JetsonTX2 AARCH64.
# remove this option if it cuased to build error.
CFLAGS = -mtune=native -fopenmp -ffast-math
CFLAGS += -fPIC
CFLAGS += -I$(SRC_PATH)
CFLAGS += -DBUILDING_DLL

Expand Down

0 comments on commit 12e3fb5

Please sign in to comment.