Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/Makefile.inc.in
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ RTFLAGS := -I. -I@RTDIR@/include $(RTFLAGS) -DRTAPI -D_GNU_SOURCE -Drealtime
ULFLAGS = -Wall -g -I. -I@RTDIR@/include -DULAPI -D_GNU_SOURCE -O2 -DLOCALE_DIR=\"$(localedir)\" -DPACKAGE=\"$(package)\"
MODULE_EXT = @MODEXT@
BUILD_SYS = @BUILD_SYS@
HOST_OS = @host_os@
BUILD_GUI = @BUILD_GUI@
CC = @CC@
MANDB = @MANDB@
Expand Down
5 changes: 5 additions & 0 deletions src/emc/rs274ngc/Submakefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ USERSRCS += $(LIBRS274SRCS)
$(call TOOBJSDEPS, $(LIBRS274SRCS)) : EXTRAFLAGS+=-fPIC $(BOOST_DEBUG_FLAGS)
$(call TOOBJSDEPS, emc/rs274ngc/pyinterp1.cc emc/rs274ngc/pyparamclass.cc emc/rs274ngc/pyinterp1.cc emc/rs274ngc/pyblock.cc emc/rs274ngc/pyarrays.cc emc/rs274ngc/interpmodule.cc): EXTRAFLAGS += $(SILENCE_BOOST_INTERNAL_DIAGNOSTICS_FLAGS)

# Opt in before any header pulls in the Darwin SDK's <math.h>.
ifneq ($(filter darwin% macos%,$(HOST_OS)),)
$(call TOOBJSDEPS, $(LIBRS274SRCS)) : EXTRAFLAGS += -D__MATH_LONG_DOUBLE_CONSTANTS
endif

TARGETS += ../lib/librs274.so ../lib/librs274.so.0

../lib/librs274.so.0: $(patsubst %.cc,objects/%.o,$(LIBRS274SRCS)) \
Expand Down