Changeset 8ef9c5e7 for configure.ac
- Timestamp:
- Mar 13, 2017, 2:14:50 PM (7 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 17df48e
- Parents:
- 031a2c95 (diff), 68ac32e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r031a2c95 r8ef9c5e7 23 23 24 24 #Trasforming cc1 will break compilation 25 if !test "${program_transform_name}" = ""; then25 if test "${program_transform_name}" = ""; then 26 26 AC_MSG_ERROR([Program transform not supported. 27 27 Use --with-cfa-name='[[Desired name here]]' instead]) … … 169 169 AC_SUBST(CFA_LIBDIR, ${cfa_libdir}) 170 170 171 AC_CANONICAL_BUILD 172 AC_CANONICAL_HOST 173 AC_SUBST([MACHINE_TYPE],[$host_cpu]) 174 175 if ! test "$host_cpu" = "$build_cpu"; then 176 case $host_cpu in 177 i386) 178 CFLAGS+="-m32" 179 CXXFLAGS+="-m32" 180 CFAFLAGS+="-m32" 181 LDFLAGS+="-m32" 182 ;; 183 i686) 184 CFLAGS+="-m32" 185 CXXFLAGS+="-m32" 186 CFAFLAGS+="-m32" 187 LDFLAGS+="-m32" 188 ;; 189 x86_64) 190 CFLAGS+="-m64" 191 CXXFLAGS+="-m64" 192 CFAFLAGS+="-m64" 193 LDFLAGS+="-m64" 194 ;; 195 esac 196 fi 197 171 198 AC_DEFINE_UNQUOTED(CFA_FLAGS, "${CFAFLAGS}", [compilation flags for cfa libraries and test programs.]) 172 199 AC_SUBST(CFA_FLAGS, ${CFAFLAGS}) 173 174 AC_CANONICAL_HOST175 AC_SUBST([MACHINE_TYPE],[$host_cpu])176 200 177 201 # Checks for programs.
Note: See TracChangeset
for help on using the changeset viewer.