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