mirror of
https://github.com/nasa/trick.git
synced 2025-01-06 13:18:46 +00:00
Data products will not compile if TRICK_FORCE_32BIT is set.
The makefiles need to compile the units directory and they were not at this time. The units need to be compiled in the native bit size regardless of whether we are forcing 32 bit or not. refs #225
This commit is contained in:
parent
56290d0306
commit
f1a26615f1
@ -8,7 +8,8 @@ LIB_DIR = lib_${TRICK_HOST_CPU}
|
||||
|
||||
LIBDIRS = Var \
|
||||
Log \
|
||||
EQParse
|
||||
EQParse \
|
||||
units
|
||||
|
||||
ifneq ("$(wildcard fermi-ware)","")
|
||||
LIBDIRS += fermi-ware
|
||||
|
@ -1,4 +1,6 @@
|
||||
|
||||
include ${TRICK_HOME}/makefiles/Makefile.common
|
||||
|
||||
CC = cc
|
||||
CPP = c++
|
||||
|
||||
@ -38,18 +40,8 @@ $(LIBDIR):
|
||||
|
||||
OBJECTS: $(CPP_OBJECTS)
|
||||
|
||||
ifeq ($(TRICK_FORCE_32BIT), 1)
|
||||
$(LIBDIR)/$(LIBNAME): $(CPP_OBJECTS) $(C_OBJECTS) $(LIB_DIR)
|
||||
ar crs $(LIBDIR)/$(LIBNAME) $?
|
||||
else
|
||||
ifeq ($(TRICK_HOME),)
|
||||
$(LIBDIR)/$(LIBNAME): $(CPP_OBJECTS) $(C_OBJECTS) $(LIB_DIR)
|
||||
ar crs $(LIBDIR)/$(LIBNAME) $?
|
||||
else
|
||||
$(LIBDIR)/$(LIBNAME): $(LIBDIR)
|
||||
ln -sf ${TRICK_HOME}/lib_${TRICK_HOST_CPU}/libtrick_units.a $(LIBDIR)/$(LIBNAME)
|
||||
endif
|
||||
endif
|
||||
|
||||
depend:
|
||||
@ echo "No depend rule for this directory"
|
||||
|
Loading…
Reference in New Issue
Block a user