Skip to content

Commit

Permalink
Build RTNeural and NAM as ststic lib
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed Apr 30, 2024
1 parent 9764087 commit 11d7a86
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Ratatouille/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ ifeq ($(TARGET), Linux)

CXXFLAGS += -MMD -std=c++17 -flto=auto -fPIC -DPIC -Ofast -Wall -funroll-loops $(SSE_CFLAGS) \
-Wno-sign-compare -Wno-reorder -Wno-infinite-recursion -DUSE_ATOM \
-fomit-frame-pointer -fvisibility=hidden \
-fomit-frame-pointer -fstack-protector -fvisibility=hidden \
-fdata-sections -I./zita-resampler-1.1.0 \
-I. -I./ -I./zita-convolver -I./zita-resampler-1.1.0 \
-DRTNEURAL_DEFAULT_ALIGNMENT=32 -DRTNEURAL_USE_EIGEN=1 -DRTNEURAL_NAMESPACE=RTNeural \
Expand All @@ -142,7 +142,7 @@ ifeq ($(TARGET), Linux)
-e '7d' ../bin/$(BUNDLE)/$(NAME).ttl
else ifeq ($(TARGET), Windows)
CXXFLAGS += -std=c++17 -D_FORTIFY_SOURCE=2 -I. -I./dsp -I./plugin -fPIC -DPIC -O2 -Wall -funroll-loops \
-fstack-protector -ffast-math -fomit-frame-pointer -fstrength-reduce \
-ffast-math -fomit-frame-pointer -fstrength-reduce \
-Wno-sign-compare -Wno-reorder -Wno-infinite-recursion -DUSE_ATOM \
$(SSE_CFLAGS) -fdata-sections -I./ -I./zita-convolver -I./zita-resampler-1.1.0 \
-DRTNEURAL_DEFAULT_ALIGNMENT=32 -DRTNEURAL_USE_EIGEN=1 -DRTNEURAL_NAMESPACE=RTNeural \
Expand Down

0 comments on commit 11d7a86

Please sign in to comment.