aboutsummaryrefslogtreecommitdiff
path: root/libraries/libtfm/Makefile
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2019-04-09 17:45:13 -0400
committerPaul Selkirk <paul@psgd.org>2019-04-09 17:45:13 -0400
commite60a67af1145e17f567c351e081c8546fbdcf6c8 (patch)
tree3d10c4ec3406377508c99beb1fb0c233f514a9c0 /libraries/libtfm/Makefile
parent07af68c08baefbced001a0081256cb1fff8ed491 (diff)
parente203f797dddfcd03419e7ac336a86a6186fce0c1 (diff)
Merge branch 'master' into js_keywrap
Diffstat (limited to 'libraries/libtfm/Makefile')
-rw-r--r--libraries/libtfm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/libtfm/Makefile b/libraries/libtfm/Makefile
index b50421c..359729b 100644
--- a/libraries/libtfm/Makefile
+++ b/libraries/libtfm/Makefile
@@ -38,7 +38,7 @@ STM32_LIBTFM_CFLAGS_OPTIMIZATION := -O3 -funroll-loops -fomit-frame-pointer
endif
CFLAGS := $(subst ${STM32_CFLAGS_OPTIMIZATION},${STM32_LIBTFM_CFLAGS_OPTIMIZATION},${CFLAGS})
-CFLAGS += -DTFM_ARM -Dasm=__asm__ -Wa,-mimplicit-it=thumb
+CFLAGS += -DTFM_ARM -DENDIAN_LITTLE -Dasm=__asm__ -Wa,-mimplicit-it=thumb
CFLAGS += -I${LIBTFM_SRC}/tomsfastmath/src/headers
CFLAGS += -DFP_MAX_SIZE="(${BITS}*2+(8*DIGIT_BIT))"
CFLAGS += -Wall -W -Wshadow -Wno-uninitialized