Skip to content

Commit

Permalink
Fix nam win32 build
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Sep 27, 2023
1 parent 6a53ad1 commit c7ffed9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ NEURAL_AMP_MODELER_LV2_BUNDLES = neural_amp_modeler.lv2
# custom optimization flags
NEURAL_AMP_MODELER_LV2_TARGET_OPT = $(subst ",,$(BR2_TARGET_OPTIMIZATION))
NEURAL_AMP_MODELER_LV2_TARGET_OPT += -fsingle-precision-constant
NEURAL_AMP_MODELER_LV2_TARGET_OPT += -pthread

ifndef BR2_SKIP_LTO
NEURAL_AMP_MODELER_LV2_TARGET_OPT += -flto -ffat-lto-objects
endif

# pass options into cmake
NEURAL_AMP_MODELER_LV2_CONF_OPTS += -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) $(NEURAL_AMP_MODELER_LV2_TARGET_OPT)"
Expand Down

0 comments on commit c7ffed9

Please sign in to comment.