2002-03-08 13:45:36 +00:00
|
|
|
#
|
2012-07-11 09:51:50 +01:00
|
|
|
# This file is part of the LibreOffice project.
|
2002-03-08 13:45:36 +00:00
|
|
|
#
|
2012-07-11 09:51:50 +01:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2002-03-08 13:45:36 +00:00
|
|
|
#
|
2012-07-11 09:51:50 +01:00
|
|
|
# This file incorporates work covered by the following license notice:
|
2002-03-08 13:45:36 +00:00
|
|
|
#
|
2012-07-11 09:51:50 +01:00
|
|
|
# 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 .
|
2002-03-08 13:45:36 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# --- Settings -----------------------------------------------------
|
|
|
|
# Has to be included AFTER settings.mk !
|
|
|
|
|
|
|
|
|
|
|
|
# RTTI
|
2011-06-18 00:29:52 +03:00
|
|
|
.IF "$(COM)"=="MSC"
|
2002-09-04 14:57:06 +00:00
|
|
|
CFLAGS+= -GR
|
2007-09-18 13:06:38 +00:00
|
|
|
.ENDIF
|
2011-02-15 12:12:28 +00:00
|
|
|
.IF "$(OS)"=="LINUX" || "$(OS)"=="FREEBSD" || "$(OS)"=="NETBSD" || \
|
|
|
|
"$(OS)"=="DRAGONFLY" || $(COM) == "GCC"
|
2007-09-18 13:06:38 +00:00
|
|
|
CFLAGSCXX+= -frtti
|
|
|
|
.ENDIF
|