Blob Blame History Raw
diff -ur HepMC3-3.2.1.orig/python/CMakeLists.txt HepMC3-3.2.1/python/CMakeLists.txt
--- HepMC3-3.2.1.orig/python/CMakeLists.txt	2020-03-17 11:38:25.000000000 +0100
+++ HepMC3-3.2.1/python/CMakeLists.txt	2020-03-22 15:30:35.572891013 +0100
@@ -199,6 +199,10 @@
 endif()
 endif()
 
+if (${CMAKE_SYSTEM_PROCESSOR} MATCHES "arm")
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g1")
+endif()
+
 if ( Python_LIBRARIES AND Python_INCLUDE_DIRS AND Python_EXECUTABLE AND ((${Python_VERSION_MAJOR} STREQUAL ${ver} AND ${verminor} STREQUAL "X")  OR "${Python_VERSION_MAJOR}.${Python_VERSION_MINOR}" STREQUAL "${ver}.${verminor}" ))
 message(STATUS "HepMC3 python: Python verson ${ver}.${verminor} found in ${Python_EXECUTABLE}. Python bindings generation is possible.")