blob: 0eba2969676d104daf38e2fa3995bdca6ca5126b [file] [log] [blame]
#
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
#
# Default.
compiler.path.cc: "gcc"
compiler.path.as: "gcc -x assembler-with-cpp"
compiler.path.archive: "ar"
compiler.path.objdump: "objdump"
compiler.path.objsize: "size"
compiler.path.objcopy: "objcopy"
compiler.flags.base: >
-m32 -Wall -Werror -ggdb
compiler.ld.resolve_circular_deps: true
compiler.flags.default: [compiler.flags.base, -O1]
compiler.flags.debug: [compiler.flags.base, -O0]
compiler.ld.mapfile: false
compiler.ld.binfile: false
# Linux.
compiler.flags.base.LINUX: >
-DMN_LINUX
compiler.ld.flags.LINUX: -lutil
# OS X.
compiler.path.cc.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5"
compiler.path.as.DARWIN.OVERWRITE: "/usr/local/bin/gcc-5 -x assembler-with-cpp"
compiler.path.objdump.DARWIN.OVERWRITE: "gobjdump"
compiler.path.objsize.DARWIN.OVERWRITE: "objsize"
compiler.path.objcopy.DARWIN.OVERWRITE: "gobjcopy"
compiler.flags.base.DARWIN: >
-DMN_OSX
compiler.ld.resolve_circular_deps.DARWIN.OVERWRITE: false