Revert "Device/Driver/LX: Add small delay after baud rate change"
[xcsoar.git] / build / hot.mk
blob2d4cb0b40668e2f880303dca909f632170a66aa5
1 ifeq ($(DEBUG)$(CLANG),nn)
3 # These sources contain a lot of "hot" code, and should be optimized
4 # for speed, not for size.
5 HOT_SOURCES = \
6 $(MATH_SOURCES) \
7 $(GEO_SOURCES) \
8 $(ZLIB_SOURCES) \
9 $(JASPER) \
10 $(SRC)/Topography/TopographyFileRenderer.cpp \
11 $(SRC)/Terrain/RasterBuffer.cpp \
12 $(SRC)/Terrain/RasterMap.cpp \
13 $(SRC)/Terrain/HeightMatrix.cpp \
14 $(SRC)/Terrain/RasterRenderer.cpp \
15 $(SRC)/Terrain/RasterTile.cpp \
16 $(SRC)/Terrain/ScanLine.cpp \
17 $(SRC)/Terrain/Intersection.cpp \
18 $(SRC)/Projection/Projection.cpp \
19 $(ENGINE_SRC_DIR)/Task/Shapes/FAITriangleSector.cpp \
20 $(ENGINE_SRC_DIR)/GlideSolvers/MacCready.cpp \
21 $(ENGINE_SRC_DIR)/GlideSolvers/GlidePolar.cpp \
22 $(ENGINE_SRC_DIR)/Route/FlatTriangleFan.cpp \
23 $(ENGINE_SRC_DIR)/Route/FlatTriangleFanTree.cpp \
24 $(ENGINE_SRC_DIR)/Route/ReachFan.cpp \
25 $(ENGINE_SRC_DIR)/Route/RoutePolar.cpp \
26 $(ENGINE_SRC_DIR)/Route/RouteLink.cpp \
27 $(ENGINE_SRC_DIR)/Route/RoutePolars.cpp \
28 $(ENGINE_SRC_DIR)/Contest/Solvers/ContestDijkstra.cpp \
29 $(ENGINE_SRC_DIR)/Contest/Solvers/TraceManager.cpp \
30 $(ENGINE_SRC_DIR)/Contest/Solvers/OLCTriangle.cpp
32 $(call SRC_TO_OBJ,$(HOT_SOURCES)): OPTIMIZE += -O3
34 endif