diff options
author | Ivan Maidanski <ivmai@mail.ru> | 2023-01-01 15:34:59 +0300 |
---|---|---|
committer | Ivan Maidanski <ivmai@mail.ru> | 2023-01-01 15:34:59 +0300 |
commit | 31fc56fef68aece642cf09c7ec9d61ba3915b4b6 (patch) | |
tree | 7668de4169f90473ff23ba3c595ff17b9ebf6471 /Makefile.direct | |
parent | 807c811b5bd6700dbfd42c65362d00de0d0879a1 (diff) | |
download | bdwgc-31fc56fef68aece642cf09c7ec9d61ba3915b4b6.tar.gz |
Fix unset HOSTCC and HOSTCFLAGS variables in Makefile.direct on AIX
(fix of commit e10f0d03b)
AIX Make seems not to recognize "?=" operator properly.
* Makefile.direct (HOSTCC, HOSTCFLAGS): Replace "?=" assignment
operator back to "=".
Diffstat (limited to 'Makefile.direct')
-rw-r--r-- | Makefile.direct | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.direct b/Makefile.direct index 4c3803b7..d7eb4211 100644 --- a/Makefile.direct +++ b/Makefile.direct @@ -80,8 +80,8 @@ CFLAGS+= -I$(srcdir)/include -I$(AO_SRC_DIR)/src \ # part of the build process, i.e. on the build machine. These will usually # be the same as CC and CFLAGS, except in a cross-compilation environment. # Note that HOSTCFLAGS should include any -D flags that affect thread support. -HOSTCC?= $(CC) -HOSTCFLAGS?= $(CFLAGS) +HOSTCC= $(CC) +HOSTCFLAGS= $(CFLAGS) # For dynamic library builds, it may be necessary to add flags to generate # PIC code, e.g. -fPIC on Linux. |