X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=DEM%2FMakefile.am;h=aeb7ecf2c2f107fa6befd9a396e1f420a3fb35ef;hb=e4a1a341ccc4f315afe27cfe3195b915c31d2061;hp=d24cc6b3562fbd1b6b5ab414301678916ce2d174;hpb=1f7da4f54e024084c705efd93d945ca43c35d415;p=flightgear.git diff --git a/DEM/Makefile.am b/DEM/Makefile.am index d24cc6b35..aeb7ecf2c 100644 --- a/DEM/Makefile.am +++ b/DEM/Makefile.am @@ -4,5 +4,10 @@ lib_LTLIBRARIES = libDEM.la libDEM_la_SOURCES = dem.cxx dem.hxx leastsqs.cxx leastsqs.hxx -INCLUDES += -I../../Simulator +INCLUDES += -I$(top_builddir) -I$(top_builddir)/Lib + +# We can't build this with "-O2" (optimization) since this causes a seg fault +# I haven't found a way to strip this out of the CXXFLAGS, so I'm just +# setting it to "-g" +CXXFLAGS = -g