1811 dont override users cc and cpp env for data products (#1819)

* Don't override the CC and C++ environment variables

Fixes an issue where some makefiles override the user's CC and C++
environment variables.

* Restore test makefiles

* Test to change from CC = cc to CC = gcc for only needed files.

* Restore the whitespaces to their original state before the update in order to show the necessary file changes for the PR.

---------

Co-authored-by: Nino Tarantino <antonio.tarantino@nasa.gov>
This commit is contained in:
Hong Chen 2025-01-07 10:42:56 -06:00 committed by GitHub
parent 80063bf498
commit 0695391bac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 9 additions and 9 deletions

View File

@ -2,7 +2,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
RM = rm -rf RM = rm -rf
CC = cc CC = gcc
CPP = c++ CPP = c++
DPX_DIR = ../.. DPX_DIR = ../..

View File

@ -2,7 +2,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
RM = rm -rf RM = rm -rf
CC = cc CC = gcc
CPP = c++ CPP = c++
DPX_DIR = ../.. DPX_DIR = ../..

View File

@ -2,7 +2,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
RM = rm -rf RM = rm -rf
CC = cc CC = gcc
CPP = c++ CPP = c++
DPX_DIR = .. DPX_DIR = ..

View File

@ -2,7 +2,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
RM = rm -rf RM = rm -rf
CC = cc CC = gcc
CPP = c++ CPP = c++
DPX_DIR = .. DPX_DIR = ..

View File

@ -1,7 +1,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
CC = cc CC = gcc
OBJ_DIR = object_${TRICK_HOST_CPU} OBJ_DIR = object_${TRICK_HOST_CPU}
LIBDIR = ../lib_${TRICK_HOST_CPU} LIBDIR = ../lib_${TRICK_HOST_CPU}

View File

@ -1,7 +1,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
CC = cc CC = gcc
CPP = c++ CPP = c++
ifndef TRICK_HOST_CPU ifndef TRICK_HOST_CPU

View File

@ -1,6 +1,6 @@
RM = rm -rf RM = rm -rf
CC = cc CC = gcc
CPP = c++ CPP = c++

View File

@ -1,6 +1,6 @@
RM = rm -rf RM = rm -rf
CC = cc CC = gcc
CPP = c++ CPP = c++
CFLAGS = -g -Wall -std=c++11 ${TRICK_CXXFLAGS} CFLAGS = -g -Wall -std=c++11 ${TRICK_CXXFLAGS}

View File

@ -1,7 +1,7 @@
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
RM = rm -rf RM = rm -rf
CC = cc CC = gcc
CPP = c++ CPP = c++
CURL = curl CURL = curl
MV = mv MV = mv