File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -55,10 +55,10 @@ endif
5555
5656ifndef EXTRALIBS
5757ifneq ($(shell echo $(CFLAGS ) | grep USE_LTM) ,)
58- EXTRALIBS =$(shell PKG_CONFIG_PATH=$(LIBPATH ) /pkgconfig pkg-config libtommath --libs)
58+ EXTRALIBS =$(shell PKG_CONFIG_PATH=$(LIBPATH ) /pkgconfig pkg-config --libs libtommath )
5959else
6060ifneq ($(shell echo $(CFLAGS ) | grep USE_TFM) ,)
61- EXTRALIBS =$(shell PKG_CONFIG_PATH=$(LIBPATH ) /pkgconfig pkg-config tomsfastmath --libs)
61+ EXTRALIBS =$(shell PKG_CONFIG_PATH=$(LIBPATH ) /pkgconfig pkg-config --libs tomsfastmath )
6262endif
6363endif
6464endif
7676# by giving them as a parameter to make:
7777# make CFLAGS="-I./src/headers/ -DLTC_SOURCE ..." ...
7878#
79+ ifneq ($(shell echo $(CFLAGS ) | grep LTM_DESC) ,)
80+ LTC_CFLAGS+ =$(shell PKG_CONFIG_PATH=$(LIBPATH ) /pkgconfig pkg-config --cflags-only-I libtommath)
81+ endif
82+ ifneq ($(shell echo $(CFLAGS ) | grep TFM_DESC) ,)
83+ LTC_CFLAGS+ =$(shell PKG_CONFIG_PATH=$(LIBPATH ) /pkgconfig pkg-config --cflags-only-I tomsfastmath)
84+ endif
7985LTC_CFLAGS += -I./src/headers/ -DLTC_SOURCE -Wall -Wsign-compare -Wshadow
8086
8187ifdef OLD_GCC
You can’t perform that action at this time.
0 commit comments