You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.0KB

  1. export VSVR_BASE_DIR=`pwd`
  2. # y=64 bit build
  3. # n=32 bit build
  4. export BUILD_64=y
  5. # y=cross compile for ARM target (untested in VSVR build)
  6. export BUILD_ARM=n
  7. # CPU architecture
  8. #CPU_ARCH=haswell
  9. CPU_ARCH=athlon-fx
  10. if [ "${USER}" = "bsp" ]; then
  11. CPU_ARCH=haswell
  12. fi
  13. if [ "${USER}" = "cameron" ]; then
  14. CPU_ARCH=skylake-avx512
  15. fi
  16. # Extra compiler flags (C and C++)
  17. #EXTRA_FLAGS=-DUSE_LOG_PRINTF
  18. EXTRA_FLAGS=""
  19. # Extra C compiler flags
  20. export EXTRA_CFLAGS="-march=${CPU_ARCH} ${EXTRA_FLAGS}"
  21. # Extra C++ compiler flags
  22. export EXTRA_CPPFLAGS="-march=${CPU_ARCH} ${EXTRA_FLAGS}"
  23. # Extra optimization flags (C/C++)
  24. export EXTRA_OPTFLAGS=
  25. # Extra linker flags
  26. export EXTRA_LDFLAGS=-march=${CPU_ARCH}
  27. # this must point to the directory which contains the 'aeffect.h' and 'aeffectx.h' files
  28. export VST2_SDK_DIR=/mnt/dev/vstsdk2.4/pluginterfaces/vst2.x/
  29. # n = build the plugin w/o 3rd party modules (only useful for debugging purposes)
  30. # y = statically link 3rd party modules
  31. export RACK_STATIC_MODULES=y
  32. #export RACK_STATIC_MODULES=n