File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ $(LOCAL_PATH)/blst/src/server.c $(LOCAL_PATH)/blst/build/assembly.S: $(LOCAL_PAT
2828$(LOCAL_PATH ) /blst_wrap.cpp : $(LOCAL_PATH ) /blst/bindings/blst.swg
2929 blst_classes=` dirname $@ ` /../src/supranational/blst && \
3030 mkdir -p $$ blst_classes && \
31- swig -c++ -java -package supranational.blst -outdir $$ blst_classes -D__BLST_BYTES_T__ - o $@ $<
31+ swig -c++ -java -package supranational.blst -outdir $$ blst_classes -o $@ $<
3232
3333LOCAL_CFLAGS := -fno-builtin-memcpy -fvisibility=hidden
34- LOCAL_CPPFLAGS := -fexceptions -I$(LOCAL_PATH ) /blst/bindings -D__BLST_BYTES_T__
34+ LOCAL_CPPFLAGS := -fexceptions -I$(LOCAL_PATH ) /blst/bindings
3535LOCAL_LDFLAGS := -Wl,-Bsymbolic
3636
3737include $(BUILD_SHARED_LIBRARY )
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ if [ ! -f blst_wrap.cpp -o "$TOP"/blst.swg -nt blst_wrap.cpp \
4545 -o " $TOP " /blst.h -nt blst_wrap.cpp \
4646 -o ! -f $PKG /blst.java ]; then
4747 (set -x; swig -c++ -java -package $JAVA_PACKAGE -outdir $PKG \
48- -D__BLST_BYTES_T__ - o blst_wrap.cpp " $TOP " /blst.swg)
48+ -o blst_wrap.cpp " $TOP " /blst.swg)
4949fi
5050
5151if [ ! -f $PKG /blst.class -o $PKG /blst.java -nt $PKG /blst.class ]; then
@@ -77,7 +77,6 @@ if [ ! -f $SO_NAME -o blst_wrap.cpp -nt $SO_NAME \
7777 awk ' { if($2=="__cplusplus" && $3<"2011") print "-std=c++11"; }' `
7878 (set -x; ${CXX} ${STD} -shared -o $SO_NAME -fPIC -fvisibility=hidden \
7979 -I" $JAVA_HOME " /include -I" $JNI_MD " -I" $TOP " \
80- -D__BLST_BYTES_T__ \
8180 -O -Wall -Wno-unused-function blst_wrap.cpp \
8281 $LIBBLST_A ${LDFLAGS} )
8382fi
You can’t perform that action at this time.
0 commit comments