classes: add go112.bbclass to fix build with go 1.12
[pti/rtp.git] / meta-oran / recipes-containers / runc / runc-docker_git.bbappend
index 15fa53a..a0790b8 100644 (file)
@@ -2,6 +2,4 @@
 # Copyright (C) 2019 Wind River Systems, Inc.
 #
 
-do_compile_prepend() {
-    unset GOCACHE
-}
+inherit ${@bb.utils.contains('GOVERSION', '1.2.%', 'go112', '', d)}