Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Jun 5, 2024
1 parent 2df4eb9 commit e3a0f71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
8 changes: 1 addition & 7 deletions src/Makevars
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_CPPFLAGS = -I"../inst/include/" -I"../inst/include/quickjs"
PKG_CPPFLAGS += -DCONFIG_BIGNUM -D_POSIX_C_SOURCE
PKG_CPPFLAGS += -DCONFIG_BIGNUM
PKG_CPPFLAGS += -DCONFIG_VERSION=\"$(shell cat quickjs/VERSION)\"
PKG_LIBS = ../inst/lib/$(R_ARCH)/libquickjs.a

Expand All @@ -9,12 +9,6 @@ else
DLL := .so
endif

BSD_CHECK := $(shell echo | $(CXX) -dM -E - | grep -i __FreeBSD__)

ifeq ($(BSD_CHECK),)
PKG_CPPFLAGS += -D_GNU_SOURCE
endif

CC_VERSION := $(shell $(CXX) -dumpfullversion -dumpversion 2>&1)
CC_MAJOR := $(word 1,$(subst ., ,$(CC_VERSION)))

Expand Down
2 changes: 1 addition & 1 deletion src/quickjs
Submodule quickjs updated 2 files
+4 −2 cutils.h
+1 −0 quickjs.c

0 comments on commit e3a0f71

Please sign in to comment.